Table of Contents

Class vdLayouts

Namespace
VectorDraw.Professional.vdCollections
Assembly
VectorDraw.Professional.dll

Represents a collection of vdLayout objects

public sealed class vdLayouts : vdBaseObject, IVDSerialise, IEnumerable, IBaseObject, IDisposable
Inheritance
vdLayouts
Implements
Inherited Members

Remarks

Each item in the collection represent a paper space and are generally used for laying out your drawing for printing.
Each vdLayout item can contain deferent views of the Model default layout object.
vdLayout can contains a collection of vdViewport that are used to view the model space in paper space.

Constructors

vdLayouts()

Initializes the vdLayouts collection object.

Properties

Count

Get the item's count of the collection.

this[int]

Get a vdLayout object from the collection at a specified index.

ItemType

Returns the Type of Items in the collection

Last

Returns the last item in the collection.

Methods

Add(object)

Adds an object to the end of the collection.

Add(string)

Creates and adds a vdLAyout object to the collection with the specified name.

AddItem(object)

Adds an object to the collection.

AddItem(vdLayout)

Adds a vdLayout object to the collection.

ChangeOrder(vdLayout, bool)

Changes the position of a vdLayout object to the front or the end of the collection.

ClearIndexDictionary()

Clears the Index of the Dictionary. Internally used to speed up Swap method.

DeSerialize(DeSerializer, string, object)

This Function is called foreach field name of the vdLayouts object when opening in vdml format.

Dispose()

Performs tasks associated with freeing, releasing, or resetting the necessary memory objects. After calling this method the vdDocument object is not available.

FindItem(object)

Checks if an object exists in the collection.

FindItem(vdLayout)

Checks if an object exists in the collection.

FindName(string)

Finds a vdLayout object with the specified name in the collection.

GetEnumerator()

Implements the "foreach" expression for the collection.

GetNotDeletedItems()

Get all non deleted objects of the collection.

GetObjectRealPosition(object)

Find the index where a specified object is located in the list.

InsertAt(int, object)

Insert an object at a specified index.

InsertAt(int, vdLayout)

Insert a vdLayout object to a specified index of the collection.

InternalSetOwner(vdBaseObject)

Internally used only.

Set the object owner

MakeIndexDictionary()

Creates an Index of the Dictionary. Internally used to speed up Swap method.

RemoveAll()

Removes all objects from the collection.

RemoveAt(int)

Removes an object from the specified index of the collection.

RemoveItem(object)

Removes an object from the collection.

RemoveItem(vdLayout)

Removes a specific vdLayout object from the collection.

Serialize(Serializer)

This Function is called when saving the vdLayouts object to vdml format.

Sort(IComparer<vdLayout>)

Sorts the elements in a range of elements in the entire collection using the specified IComparer<T> generic interface.

ToString()

Gets a System.String that represents the count of the vdLayouts collection Object.

getUniqueTableName(string)

Creates a unique string for use as name to a vdLayout object.

swap(vdLayout, vdLayout)

Swaps the position between two different vdLayout objects existing in the collection.