Skip to content

PdfType3Font Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a Type3 font.

C#
public class PdfType3Font : PdfFont

Inheritance: Object → PdfFont → PdfType3Font

Constructors

Name Description
PdfType3Font() Initializes a new PdfType3Font object.
PdfType3Font(String) Initializes a new PdfType3Font object.
PdfType3Font(PdfTrueTypeFont) Initializes a new PdfType3Font object.

Properties

Name Description
Bold Gets or sets a value indicating whether the font is bold.
(inherited from PdfFont)
CharacterSpacing Gets or sets the character spacing to be used by this font.
(inherited from PdfFont)
CosFont Gets the COS font dictionary.
(inherited from PdfFont)
FirstChar Gets or sets the first char in the font.
FontBBox Gets or sets the font bbox.
FontMatrix Gets or sets the font matrix.
Glyphs Gets the font glyphs.
HorizontalScaling Gets or sets the text horizontal scaling to be used by this font.
(inherited from PdfFont)
Italic Gets or sets a value indicating whether the font is italic.
(inherited from PdfFont)
LastChar Gets or sets the last char in the font.
Metrics Gets the font metrics.
(inherited from PdfFont)
Size Gets or sets the font size.
(inherited from PdfFont)
Strikethrough Gets or sets a value indicating whether the font is strikethrough.
(inherited from PdfFont)
StrikethroughOffset Gets or sets the strikethrough offset.
(inherited from PdfFont)
TextRenderingMode Gets or sets the text rendering mode.
(inherited from PdfFont)
Underline Gets or sets a value indicating whether the font is underlined.
(inherited from PdfFont)
Widths Gets or sets the character widths.

Methods

Name Description
CreateGlyphFromUnicodeCodePoint Creates a PdfType3Glyph from the given code point and associates it with the given character code in this font.
EnableTextCopy This method sets up the proper structures to support text copy operations when character codes have been mapped to Unicode codepoints.
EncodeString Encodes the given text to a byte array based on font's encoding.
(inherited from PdfFont)
GetCharWidth Gets the width of the given character when drawn with this font object.