←Select platform

PDFFont Structure

Summary

Contains the information for a PDF font.

Syntax

C#
VB
Java
C++
[SerializableAttribute()] 
public struct PDFFont 
<SerializableAttribute()> 
Public Structure PDFFont  
   Inherits System.ValueType 
public class PDFFont 
[SerializableAttribute()] 
public value class PDFFont : public System.ValueType  

Remarks

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.

Example

For an example, refer to PDFObject.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly