• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Vba API > Visual Basic Reference > Reference Guide > Methods > ZoomCenter Method 

ZoomCenter Method

ZoomCenter Method

ZoomCenter method

Displays the drawing at a given center point and specified zoom factor.

Syntax

object.ZoomCenter(Center, ZoomFactor)

Where:

     object is an progeCAD Viewport or PViewport object;

     Center is an progeCAD Point object;

     ZoomFactor is a double-precision variable (or value) representing the magnification factor.

ZoomCenter method example

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.