Table of Contents

Class vdMultilineStyles

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

Represents a collection of vdMultilineStyle objects which are reference by vdMultiline entities.

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

Examples

see vdMultiline for an example of how to use the vdMultilineStyles collection to manage multiline styles in a document.

Remarks

The vdMultilineStyles collection provides management operations for multiline styles including: adding and removing styles (AddItem(vdMultilineStyle) / RemoveItem(vdMultilineStyle)), name and id based lookups (FindName(string) / internal id dictionary), enumeration, serialization support and management of a default style named "Standard".

Constructors

vdMultilineStyles()

Initializes the vdMultilineStyles collection object.

Properties

Count

Get the item's count of the collection.

this[int]

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

Standard

Get the standard vdMultilineStyle object existing to the collection with name "Standard".

Methods

Add(object)

Adds an object to the end of the collection.

Add(string)

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

AddItem(object)

Adds an object to the collection.

AddItem(vdMultilineStyle)

Adds a vdMultilineStyle object to the collection.

ChangeOrder(vdMultilineStyle, bool)

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

DeSerialize(DeSerializer, string, object)

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

Dispose()

Releases all resources used by this object.

EnsureDefaults()

Ensures the default values to the properties of the standard vdMultilineStyle object.

FindItem(vdMultilineStyle)

Checks if an object exists in the collection.

FindName(string)

Finds a vdMultilineStyle 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.

GetNotDeletedItemsAndVisibleOnForms()

Get all non deleted objects of the collection.

InitDefaults(vdDocument)

Ensures the existance of the standard vdMultilineStyle object and also sets the document parameter to be the document of the collection.

InsertCopyOf(vdMultilineStyle)

Adds a clone of the obj in the collection if it is not exist.

InternalSetOwner(vdBaseObject)

Internally used only.

Set the object owner

IsDefault(vdPrimary)

Checks if the parameter passed is the standard vdMultilineStyle object.

RemoveAll()

Removes all objects from the collection.

RemoveItem(vdMultilineStyle)

Removes a specific vdMultilineStyle object from the collection.

Serialize(Serializer)

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

ToString()

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

getUniqueTableName(string)

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

swap(vdMultilineStyle, vdMultilineStyle)

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

See Also