Click or drag to resize

PdfFont Class

Represents the font object
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.NetPdfFont

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public class PdfFont

The PdfFont type exposes the following members.

Properties
 NameDescription
Public propertyAscent Gets the ascent value in the font
Public propertyBaseFontName Gets base font name
Public propertyDescent Get the descent value in the font
Public propertyDictionary Gets the font dictionary
Public propertyFlags Gets font flags
Public propertyFontType Gets font type
Public propertyFontTypeName Gets font type name
Public propertyHandle Gets the Pdfium SDK handle that the font is bound to
Public propertyIsEmbedded Specifies whether the font is ebedded
Public propertyIsStandardFont Specifies whether the font is a standard font.
Public propertyIsUnicodeCompatible Specifies whether the font is unicode compatible
Public propertyIsVertWriting Specifies whether the font is VertWriting
Public propertyItalicAngel Get the italic angle value in the font
Public propertyStemV Get the StemV value in the font
Public propertyWeight Get the Weight value in the font
Top
Methods
 NameDescription
Public methodStatic memberCreateEmbeddedFont Creates a built in font that has the specified characteristics.
Public methodStatic memberCreateFont(PdfDocument, PdfTypeDictionary) Creates a font with the specified characteristics.
Public methodStatic memberCreateFont(PdfDocument, String, FontCharSet, Boolean, Boolean, Boolean) Creates a font with the specified characteristics.
Public methodStatic memberCode exampleCreateFont(PdfDocument, String, Boolean, FontFlags, FontWeight, Int32, FontCharSet, Boolean) Creates a font with the specified characteristics.
Public methodStatic memberCreateFromHandle Create new instance of PdfFont class from native handle.
Public methodStatic memberCreateStandardFont(PdfDocument, FontStockNames, Int32) Creates a standard type font with the specified typeface name and encoding.
Public methodStatic memberCreateStandardFont(PdfDocument, String, Int32) Creates a standard type font with the specified typeface name and encoding.
Public methodStatic memberCreateStock(PdfDocument, FontStockNames) Creates a standard type 1 font with the specified typeface name and Windows ANSI encoding.
Public methodStatic memberCreateStock(PdfDocument, String) Creates a standard type 1 font with the specified typeface name and Windows ANSI encoding.
Public methodStatic memberCreateWindowsFont Creates a font that has the specified characteristics.
Public methodGetCharBBox Get the special character bounding box of a font object.
Public methodGetCharFontWidth Get a special character width of a font object.
Public methodGetCharTypeWidth Get a special character width of a font object.
Public methodGetStringWidth Get a special string width of a font object.
Public methodToCharCode Convert given unicode to char code
Public methodToUnicode Convert given char code to unicode
Top
Extension Methods
 NameDescription
Public Extension MethodGetCharBBoxEx Get the special character bounding box of a font object.
(Defined by PdfFontExtension)
Top
See Also