Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

72567798 f00e be4d ab14 a38c6eff2aa0

haplokuon edited this page May 6, 2023 · 1 revision

Layouts Class

netDxf 3.0.0 Library

Represents a collection of layouts.

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public sealed class Layouts : TableObjects<Layout>

VB

Public NotInheritable Class Layouts
	Inherits TableObjects(Of Layout)

C++

public ref class Layouts sealed : public TableObjects<Layout^>

F#

[<SealedAttribute>]
type Layouts = 
    class
        inherit TableObjects<Layout>
    end
Inheritance Object → DxfObjectTableObjects(Layout) → Layouts

Remarks

You can add a maximum of 255 layouts to your drawing, the "Model" layout is always present, that limits the maximum number of layouts to 256. Even though this limit is imposed through the AutoCad UI, it can import larger numbers, but exceeding this limit might make it to crash.

Properties

CodeName Gets the DXF object name.
(Inherited from DxfObject)
Count Gets the number of table objects.
(Inherited from TableObjects(T))
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
Item Gets a table object from the list by name.
(Inherited from TableObjects(T))
Items Gets the table object list.
(Inherited from TableObjects(T))
Names Gets the ObjectTable names.
(Inherited from TableObjects(T))
Owner Gets the owner of the actual DXF object.
(Inherited from TableObjects(T))
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Add Adds a table object to the list.
(Inherited from TableObjects(T))
Clear Removes all table objects that are not reserved and have no references.
(Inherited from TableObjects(T))
Contains(String) Checks if a table object already exists in the list.
(Inherited from TableObjects(T))
Contains(T) Checks if a table object already exists in the list.
(Inherited from TableObjects(T))
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the table object collection.
(Inherited from TableObjects(T))
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetReferences(String) Gets the dxf objects referenced by a T.
(Inherited from TableObjects(T))
GetReferences(T) Gets the dxf objects referenced by a T.
(Inherited from TableObjects(T))
GetType Gets the Type of the current instance.
(Inherited from Object)
HasReferences(String) Checks if the specified TableObject has been referenced by other DxfObjects.
(Inherited from TableObjects(T))
HasReferences(T) Checks if the specified TableObject has been referenced by other DxfObjects.
(Inherited from TableObjects(T))
Remove(Layout) Deletes a layout and removes the layout entities from the document.
(Overrides TableObjects(T).Remove(T))
Remove(String) Deletes a layout and removes the layout entities from the document.
(Overrides TableObjects(T).Remove(String))
ToString Obtains a string that represents the DXF object.
(Inherited from DxfObject)
TryGetValue Gets the table object associated with the specified name.
(Inherited from TableObjects(T))

Events

XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

Fields

MaxCapacity Maximum number of layouts that can be added to the document.

See Also

Reference

netDxf.Collections Namespace

Clone this wiki locally