|
Description
|
Adds a new viewport to the drawing.
|
|
Syntax
|
[form.]DXFReader.AddViewPort (ViewPortName As String, [X1 As Single], [Y1 As Single], [X2 As Single], [Y2 As Single])
|
|
Remarks
|
If X1, Y1, X2 and Y2 parameters are omitted the current view is added. If the viewport indicated by the ViewPortName parameter exists the Error event is fired with ErrorCode = 902.
The parameters for the AddViewPort method are described below:
| ViewPortName | The name of the viewport to add | | X1 | (Optional) X coordinate of the lower-left corner of the view (Default value = 0) | | Y1 | (Optional) Y coordinate of the lower-left corner of the view (Default value = 0) | | X2 | (Optional) X coordinate of the upper-right corner of the view (Default value = 0) | | Y2 | (Optional) Y coordinate of the upper-right corner of the view (Default value = 0) |
|