[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.EmbeddedFontCollection

EmbeddedFontCollection Class

Represents a collection of EmbeddedFont objects.

Elements in this collection are indexed by EmbeddedFontType (regular, bold, italic, bold italic).

Inheritance
EmbeddedFontCollection
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class EmbeddedFontCollection : IReadOnlyCollection<EmbeddedFont>, IEnumerable<EmbeddedFont>, IEnumerable
Public Class EmbeddedFontCollection
    Implements IReadOnlyCollection(Of EmbeddedFont), IEnumerable(Of EmbeddedFont), IEnumerable

Properties

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.

Methods

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.