Class FontInfoCollection
Represents a FontInfoCollection.
Inherited Members
Namespace: DRIT.Document.Fonts
Assembly: DRIT.Document.dll
Syntax
public class FontInfoCollection : IEnumerable<FontInfo>, IEnumerable
Fields
Items
Describes the font Info Collection configuration.
Declaration
public List<FontInfo> Items
Field Value
| Type | Description |
|---|---|
| List<FontInfo> |
ItemsByName
Describes the font Info Collection configuration.
Declaration
public Dictionary<string, FontInfo> ItemsByName
Field Value
| Type | Description |
|---|---|
| Dictionary<string, FontInfo> |
Properties
Count
Gets count.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets this[int].
Declaration
public FontInfo this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| FontInfo |
this[string]
Gets this[string].
Declaration
public FontInfo this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Property Value
| Type | Description |
|---|---|
| FontInfo |
Methods
Add(FontInfo)
Adds the specified item to this collection.
Declaration
public void Add(FontInfo item)
Parameters
| Type | Name | Description |
|---|---|---|
| FontInfo | item | The item to use for the operation. |
Add(string)
Adds the specified item to this collection.
Declaration
public FontInfo Add(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the item. |
Returns
| Type | Description |
|---|---|
| FontInfo | The resulting value. |
Contains(string)
Provides the contains behavior for this object.
Declaration
public bool Contains(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the item. |
Returns
| Type | Description |
|---|---|
| bool | The resulting value. |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<FontInfo> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<FontInfo> | The resulting value. |