Leadtools.Pdf Namespace : PDFFont Structure |
[SerializableAttribute()] public struct PDFFont : System.ValueType
'Declaration <SerializableAttribute()> Public Structure PDFFont Inherits System.ValueType
'Usage Dim instance As PDFFont
[SerializableAttribute()] public class PDFFont
JAVASCRIPT_NOSTRUCTS
[SerializableAttribute()] public value class PDFFont : public System.ValueType
The PDFFont structure is used as the type for the PDFDocumentPage.Fonts collection.
You can read the fonts of a PDF page through the PDFDocument.ParsePages method with the PDFParsePagesOptions.Fonts as part of the options parameter. When this method returns, each PDFDocumentPage parsed will have the PDFDocumentPage.Fonts collection populated with the fonts of the page.
The font height and width is not stored in the PDFFont structure, instead it is stored in the PDFObject.TextProperties property of the text or hyperlink object.
For an example, refer to PDFObject.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2