Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
Leadtools.Pdf Assembly > Leadtools.Pdf Namespace : PDFFont Structure |
[SerializableAttribute()] public struct PDFFont : System.ValueType
'Declaration
<SerializableAttribute()> Public Structure PDFFont Inherits System.ValueType
'Usage
Dim instance As PDFFont
public class PDFFont
[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.