Click or drag to resize

DXFReaderNETControlAddView Method

Adds a new view to the drawing.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public View AddView(
	string ViewName,
	Vector2? LowerLeftCorner = null,
	Vector2? UpperRightCorner = null
)

Parameters

ViewName
Type: SystemString
The name of the view to add.
LowerLeftCorner (Optional)
Type: SystemNullableVector2
Lower left corner of the view. If omitted the current lower left corner will be used.
UpperRightCorner (Optional)
Type: SystemNullableVector2
Upper right corner of the view. If omitted the current upper right corner will be used.

Return Value

Type: View
The added view.
Remarks
If the view indicated by the ViewName parameter exists the error event is fired with ErrorCode = 201.
See Also