Click or drag to resize

PdfFont Methods

The PdfFont type exposes the following members.

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