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
)
Public Function AddView (
ViewName As String,
Optional LowerLeftCorner As Vector2? = Nothing,
Optional UpperRightCorner As Vector2? = Nothing
) As View
public:
View^ AddView(
String^ ViewName,
Nullable<Vector2> LowerLeftCorner = nullptr,
Nullable<Vector2> UpperRightCorner = nullptr
)
member AddView :
ViewName : string *
?LowerLeftCorner : Nullable<Vector2> *
?UpperRightCorner : Nullable<Vector2>
(* Defaults:
let _LowerLeftCorner = defaultArg LowerLeftCorner null
let _UpperRightCorner = defaultArg UpperRightCorner null
*)
-> View
METHOD AddView(
ViewName AS STRING,
LowerLeftCorner AS Nullable<Vector2> := NULL,
UpperRightCorner AS Nullable<Vector2> := NULL
) AS View
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:
ViewThe added
view.
Remarks If the view indicated by the ViewName parameter exists the
error event is fired with ErrorCode = 201.
See Also