LayoutsRemove Method (String)
|
Deletes a layout and removes the layout entities from the document.
Namespace:
DXFReaderNET.Collections
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public override bool Remove(
string name
)
Public Overrides Function Remove (
name As String
) As Boolean
public:
virtual bool Remove(
String^ name
) override
abstract Remove :
name : string -> bool
override Remove :
name : string -> bool
VIRTUAL METHOD Remove(
name AS STRING
) AS LOGIC
Parameters
- name
- Type: SystemString
Layout name to remove from the document.
Return Value
Type:
BooleanTrue if the layout has been successfully removed, or false otherwise.
Remarks
The ModelSpace layout cannot be remove. 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, ...
See Also