[]
        
(Showing Draft Content)

C1.C1Preview.DocumentFont

DocumentFont Class

Describes a font used in a C1PrintDocument (see also FontHandling).

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

Properties

Name Description
Bold

Gets a value indicating whether the current font is bold.

CodeRanges

Gets the C1.Util.CodeRanges collection that defines glyphs that were rendered using the current font.

CoreFontBold

Gets a value indicating whether the underlying physical font is bold.

CoreFontItalic

Gets a value indicating whether the underlying physical font is italic.

FontFamilyName

Gets the actual font family name. This name may be used in API calls to create the corresponding font.

If FontHandling has been set to BuildActualDocumentFonts or EmbedActualFonts, this name may differ from FontName.

FontFileName

Gets the name of the font file installed on the system or embedded in the document, that is actually used to render the glyphs.

FontName

Gets the name of the font as specified by the user.

For fonts created automatically due to font substitution, this is still the name of the original specified font, not of the substitute font.

FontStyle

Gets the FontStyle of the current font.

Glyphs

Gets the array of glyphs that were rendered using the current font.

HasCodeRanges

Gets a value indicating whether the CodeRanges collection is not empty.

HasGlyphs

Gets a value indicating whether the Glyphs collection is not empty.

Italic

Gets a value indicating whether the current font is italic.

Owner

Gets the DocumentFontCollection containing the current object.

Methods

Name Description
AssignFrom(DocumentFont)

Assigns (copies) properties from another DocumentFont to the current object.