$Visio->ActiveDocument->Pages(1)->Export($path."Drawing.jpg");