Table of Contents

Class vdImages

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

Represents a collection of vdImageDef objects and provides methods and helpers
to manage images used by the document.
Image definitions are used by vdImage objects to display images in the document.
Each vdImageDef object of the collection represents a different image that can be used in the document.

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

Examples

see vdImageDef for an example of how to use the vdImages collection to set the image definition of a vdImage object.

Constructors

vdImages()

Initializes the vdImages collection object.

Properties

Count

Get the item's count of the collection.

this[int]

Get a vdImageDef 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 vdImageDef object to the collection with the specified name.

Add(string, string)

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

AddItem(object)

Adds an object to the collection.

AddItem(vdImageDef)

Adds a vdImageDef object to the collection.

AddResolveProperty(object, string, string)

Adds the parameters to the resolve list of the collection.

ChangeOrder(vdImageDef, bool)

Changes the position of a vdImageDef 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 vdImages object when opening in vdml format.

Dispose()

Releases all resources used by this object.

FindFullPathFileName(string)

Searches the collection for the given filename and returns the found vdImageDef object.

FindFullPathName(string)

Searches the collection for the given name and returns the found vdImageDef object.

FindItem(object)

Checks if an object exists in the collection.

FindItem(vdImageDef)

Checks if an object exists in the collection.

FindName(string)

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

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, vdImageDef)

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

InsertCopyOf(vdImageDef)

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

InternalSetOwner(vdBaseObject)

Internally used only.

Set the object owner

MakeIndexDictionary()

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

Purge()

Sets as Deleted all vdImageDef objects that are not being used in the Collection's Document.

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(vdImageDef)

Removes a specific vdImageDef object from the collection.

ResolveProperties()

Resolves all the properties added with the AddResolveProperty(object, string, string) function.

Serialize(Serializer)

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

ToString()

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

getUniqueTableName(string)

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

swap(vdImageDef, vdImageDef)

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

See Also