Gets a list of the objects found in this page.
public IList<PDFObject> Objects {get;}
Public ReadOnly Property Objects As IList(Of PDFObject)
public List<PDFObject> getObjects()
public:
property IList<PDFObject>^ Objects {
IList<PDFObject>^ get();
}
An IList of PDFObject items that contain the objects found in the page. The default value is null.
LEADTOOLS support parsing the following objects: text items (characters), images and rectangles. For more information, refer to PDFObject.
By default, the Fonts, Annotations, Objects, FormFields, Signatures and Hyperlinks lists are not populated when a new PDFDocument is created and the values of these properties are null. You must call the PDFDocument.ParsePages method to parse the items are you interested in (depending on the PDFParsePagesOptions passed as the options parameter to the method). This is done for performance reasons and to give the user the ability to parse only the objects and pages of interest.
The Objects list will be populated if PDFParsePagesOptions.Objects is passed as part of the options parameter to PDFDocument.ParsePages. After this method returns, all the pages parsed will have their Objects properties populated either with a list of the objects found in the page or an empty list (with IList<_50_44F4f_bject>.Count equals to 0).When parsing is finished, the Objects and Hyperlinks properties will contain a list of the PDFObject and PDFHyperlink items found in the page (if PDFParsePagesOptions.Objects and PDFParsePagesOptions.Hyperlinks was selected). Each of these items contain a PDFTextProperties object that contain the text properties of the item such its font information and color. One of these properties is PDFTextProperties.FontIndex which is the 0-based integer index to the font of the item in the Fonts list.
If PDFParsePagesOptions.Fonts is not passed to PDFDocument.ParsePages, but PDFParsePagesOptions.Objects and PDFParsePagesOptions.Hyperlinks was selected, then the fonts are not parsed and the PDFTextProperties.FontIndex value of any returned object will be 0.
For an example on general parsing of PDF pages, refer to PDFDocumentPage, for an example on drawing the objects of a page on the surface of an image, refer to PDFObject.
Products |
Support |
Feedback: Objects 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.