Character code value of this PDFObject text item.
public char Code {get; set;}
Public Property Code As Char
public char getCode()
public void setCode(char code)
A System.Char that contain the UNICODE character code of this PDFObject text item. The default value is 0.
The Code property is only valid for text items, i.e., when the value of ObjectType is PDFObjectType.Text. The text properties such as font information and color will be stored in the TextProperties property of this object.
White space characters such as a space or a tab are parsed by default and returned as individual objects. You can stop this behavior by OR'ing the PDFParsePagesOptions.IgnoreWhiteSpaces enumeration member with PDFParsePagesOptions.Objects in the options parameter passed to PDFDocument.ParsePages. Note: To re-construct the words and lines of text in the page without white characters by using the PDFTextProperties.IsEndOfWord and PDFTextProperties.IsEndOfLine properties. The PDFTextPropertiesexample demonstrates this.
Note: Currently, LEADTOOLS does not support extracting true UNICODE characters from a PDF file. Only ASCII characters are read and then converted to UNICODE.
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.
Products |
Support |
Feedback: Code Property - Leadtools.Pdf |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.