[]
        
(Showing Draft Content)

C1.C1Preview.Dictionary

Dictionary Class

Represents a dictionary within a C1PrintDocument. The dictionary allows to store an object such as an image or an icon once, and reuse it throughout the document. Items contained in the dictionary must have types derived from DictionaryItem (e.g. DictionaryImage or DictionaryIcon).

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class Dictionary : NamedCollection, IList, ICollection, IEnumerable

Properties

Name Description
Document

Gets the C1PrintDocument object that is the owner of the current dictionary.

this[int]

Gets or sets the DictionaryItem at the specified index.

this[string]

Gets the DictionaryItem with the specified name.

Methods

Name Description
Add(DictionaryItem)

Adds an item to the current dictionary.

GetItemType()

Gets the type of items that can be added to this dictionary.

Remove(DictionaryItem)

Removes an item from the current dictionary.