ImageGear .NET - Updated
Zoom(Double) Method




ImageGear24.Formats.Vector Assembly > ImageGear.Formats.CAD Namespace > CADCamera Class > Zoom Method : Zoom(Double) Method
Amount to zoom by.
Zooms in/out camera.
Syntax
'Declaration
 
Public Overloads Sub Zoom( _
   ByVal zoomAmount As Double _
) 
'Usage
 
Dim instance As CADCamera
Dim zoomAmount As Double
 
instance.Zoom(zoomAmount)
public void Zoom( 
   double zoomAmount
)
public: void Zoom( 
   double zoomAmount
) 
public:
void Zoom( 
   double zoomAmount
) 

Parameters

zoomAmount
Amount to zoom by.
Remarks

Zooming the camera means: moving the camera along it's "forward" axis.

This function zooms in by percentage, so the closer you get to the center the less it zooms.

Will invalidate camera's ImGearCADPage, so if viewing in a ImGearPageView you must do ImGearPageView.Update() to see changes.

Example
To zoom in zoomAmount=1.1To zoom out, zoomAmount=0.9
See Also

Reference

CADCamera Class
CADCamera Members
Overload List