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

ZoomScaled Method

ZoomScaled Method

ZoomScaled method

Displays the drawing at a user specified zoom scale factor.

Syntax

object.ZoomScaled(Scale, ScaleType)

Where:

     object is an progeCAD Viewport or PViewport object;

     Scale is a double-precision variable or value representing the scale factor to use for zooming;

     ScaleType is one of the following constants that determines how the scale factor is applied:

     vicZoomScaledAbsolute = 0 (scaled absolutely, relative to the drawing limits)      

     vicZoomScaledRelative = 1 (relative to the current view)

     vicZoomScaledRelativePSpace = 2 (relative to paper space units)

ZoomScaled 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.