←Select platform

TextProperties Property

Summary

Text properties such as font information and color of this PDFObject text item.

Syntax
C#
VB
C++
Java
public PDFTextProperties TextProperties { get; set; } 
Public Property TextProperties As PDFTextProperties 
public PDFTextProperties getTextProperties() 
public void setTextProperties(PDFTextProperties properties) 
public: 
property PDFTextProperties TextProperties { 
   PDFTextProperties get(); 
   void set (    PDFTextProperties ); 
} 

Property Value

A PDFTextProperties structure that contain the text properties such as font information and color of this PDFObject text item. The default value is a default PDFTextProperties object.

Remarks

The TextProperties property is only valid for text items, i.e., when the value of ObjectType is PDFObjectType.Text. The character code of the text item will be stored in the Code property of this object.

Example

For an example, refer to PDFObject to show how to draw the objects of a PDF page to an image and PDFTextProperties to show how to write the text of a PDF page to an external file.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly