[]
        
(Showing Draft Content)

C1.C1Preview.EmbeddedFont

EmbeddedFont Class

Specifies the embedded font parameters.

Inheritance
EmbeddedFont
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.4.8.dll
Syntax
[C1ClassSerialization(true)]
public class EmbeddedFont

Constructors

Name Description
EmbeddedFont(Font)

Initializes a new instance of the EmbeddedFont class.

Properties

Name Description
Bold

Gets a value indicating whether the current embedded font is bold.

CanEmbed

Gets a value indicating whether the license for the current font allows embedding.

CanSubset

Gets a value indicating whether the license for the current font allows subsetting when embedded.

CharSet

Gets the charset of the current embedded font.

CodeRanges

Gets a C1.Util.CodeRanges collection defining set of char codes supported by this EmbeddedFont object. If this collection is empty then glyphs for characters will be embedded.

FontData

Gets an array of bytes containing the embedded font's data. This property can be null if the font was created during document generation, i.e. if the current object represents a font that was not loaded and currently exists in the system.

FontName

Gets the name of the current embedded font.

Initialized

Gets a value indicating whether the current object has produced the FontFamily object.

Italic

Gets a value indicating whether the current embedded font is italic.

MustObfuscate

Gets a value indicating whether the license for the current font requires obfuscating when embedded.

MustRestrict

Gets a value indicating whether the license for the current font restricts embedding to print and preview uses.

ShouldObfuscate

Gets a value indicating whether the current embedded should be obfuscated when embedded.

Style

Gets a style of current embedded font.

Methods

Name Description
AddGlyphs(UnicodeRangeEnum)

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

AddGlyphs(CodeRanges)

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

AddGlyphs(int, int)

Adds a range of glyphs to the current EmbeddedFont.

AddGlyphs(string)

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

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.

GetFontFamily()

Get the FontFamily object describing the current EmbeddedFont.