←Select platform

TextProperties Property

Summary

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

Syntax

C#
VB
Java
C++
public PDFTextProperties TextProperties { get; set; } 
Public Property TextProperties As Leadtools.Pdf.PDFTextProperties 
public PDFTextProperties getTextProperties() 
public void setTextProperties(PDFTextProperties properties) 
             

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly