[]
        
(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)
Public Sub AddGlyphs(text As String, includeUnicodeRanges As Boolean)
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)
Public Sub AddGlyphs(text As String)
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)
Public Sub AddGlyphs(first As Integer, last As Integer)
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)
Public Sub AddGlyphs(unicodeRange As UnicodeRangeEnum)
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)
<CLSCompliant(False)>
Public Sub AddGlyphs(codeRanges As CodeRanges)
Parameters
Type Name Description
CodeRanges codeRanges

C1.Util.CodeRange to add.