|
Description
|
Zooms out a drawing by scale factor specified in the ZoomInOutPercent property from the point specified by the x and y parameters.
|
|
Syntax
|
[form.]DXFReader.ZoomSpotOut (x As Single, y As Single)
|
|
Remarks
|
The following code will zoom in the drawing from the point directly beneath the cursor with a left click and will zoom out with a right click:
Sub DXFReader1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
Select Case Button Case 1 DXFReader.ZoomSpotIn x, y Case 2 DXFReader.ZoomSpotout x, y End Select
End Sub
To change the increase/decrease zooming factor use the ZoomInOutPercent property.
The parameters for the ZoomSpotOut method are described below:
| x | The X coordinate, in drawing units, of the point | | y | The Y coordinate, in drawing units, of the point |
|