This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 422
89fd2f97 f718 9401 27af 8535ee07d505
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Deletes a layout and removes the layout entities from the document.
Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public override bool Remove(
string name
)
VB
Public Overrides Function Remove (
name As String
) As Boolean
C++
public:
virtual bool Remove(
String^ name
) override
F#
abstract Remove :
name : string -> bool
override Remove :
name : string -> bool
- String
- Layout name to remove from the document.
Boolean
True if the layout has been successfully removed, or false otherwise.
The ModelSpace layout cannot be removed. If all PaperSpace layouts have been removed a default PaperSpace will be created since it is required by the DXF implementation.
When a Layout is deleted all entities that has been added to it will also be removed.
Removing a Layout will rebuild the PaperSpace block names, to follow the naming rule: Paper_Space, Paper_Space0, Paper_Space1, ...