[]
Represents a collection of EmbeddedFont objects.
Elements in this collection are indexed by EmbeddedFontType (regular, bold, italic, bold italic).
public class EmbeddedFontCollection : IReadOnlyCollection<EmbeddedFont>, IEnumerable<EmbeddedFont>, IEnumerable
Public Class EmbeddedFontCollection
Implements IReadOnlyCollection(Of EmbeddedFont), IEnumerable(Of EmbeddedFont), IEnumerable
Name | Description |
---|---|
Count | |
Document | Gets the document that contains this font. |
IsReadOnly | Gets a value indicating whether the containing document is in reading mode. |
this[EmbeddedFontType] | Gets an embedded font from this collection with a specified type. |
Name | Description |
---|---|
Add(EmbeddedFontType, FontDataType, byte[]) | Adds a new embedded font to this collection. |
Clear() | Clears this collection. |
Contains(EmbeddedFontType) | Checks whether this collection contains an embedded font with the specified type. |
GetEnumerator() | |
Remove(EmbeddedFontType) | Removes the embedded font with a specified type from this collection. |
TryGetValue(EmbeddedFontType, out EmbeddedFont) | Tries to get an embedded font with a specified type from this collection. |