[]
        
(Showing Draft Content)

C1.C1Preview.EmbeddedFont.AddGlyphs

AddGlyphs Method

AddGlyphs(string, bool)

Adds unique glyphs or glyph ranges from the specified string to the current EmbeddedFont. The ranges recognized by this method are represented by the UnicodeRangeEnum enumeration.

Declaration
public void AddGlyphs(string text, bool includeUnicodeRanges)
Parameters
Type Name Description
string text

The string to add the glyphs from.

bool includeUnicodeRanges

If true, for each unique glyph in text, the whole Unicode range containing the glyph (such as "Basic Latin" or "Cyrillic") is added. If false, only the glyph itself is added.

AddGlyphs(string)

Adds unique glyphs from the specified string to the current EmbeddedFont.

Declaration
public void AddGlyphs(string text)
Parameters
Type Name Description
string text

The string to add the glyphs from.

AddGlyphs(int, int)

Adds a range of glyphs to the current EmbeddedFont.

Declaration
public void AddGlyphs(int first, int last)
Parameters
Type Name Description
int first

The first glyph in the range to add.

int last

The last glyph in the range to add.

AddGlyphs(UnicodeRangeEnum)

Adds all glyphs from the specified range to the current EmbeddedFont.

Declaration
public void AddGlyphs(UnicodeRangeEnum unicodeRange)
Parameters
Type Name Description
UnicodeRangeEnum unicodeRange

The range to add.

AddGlyphs(CodeRanges)

Adds all C1.Util.CodeRange objects in codeRanges to the current EmbeddedFont.

Declaration
[CLSCompliant(false)]
public void AddGlyphs(CodeRanges codeRanges)
Parameters
Type Name Description
CodeRanges codeRanges

C1.Util.CodeRange to add.