LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

PDFParseDocumentStructureOptions Enumeration






Specifies options to use when parsing a PDF document structure.
Syntax
[FlagsAttribute()]
[SerializableAttribute()]
public enum PDFParseDocumentStructureOptions : System.Enum 
'Declaration
 
<FlagsAttribute()>
<SerializableAttribute()>
Public Enum PDFParseDocumentStructureOptions 
   Inherits System.Enum
'Usage
 
Dim instance As PDFParseDocumentStructureOptions
[FlagsAttribute()]
[SerializableAttribute()]
public enum PDFParseDocumentStructureOptions : System.Enum 
Leadtools.Pdf.PDFParseDocumentStructureOptions = function() { };
Leadtools.Pdf.PDFParseDocumentStructureOptions.prototype = {
LeadtoolsMemberMarker(replace me) };
[FlagsAttribute()]
[SerializableAttribute()]
public enum class PDFParseDocumentStructureOptions : public System.Enum 
Members
MemberDescription
All

Parse both the bookmarks and internal links. This is the same as using Bookmarks | InternalLinks.

Bookmarks

Parse the bookmarks that constitute the Table of Contents (TOC) of the document. This option will cause the PDFDocument.Bookmarks property to be populated.

InternalLinks

Parse the internal links (or jumps) between the pages found in the document. This option will cause the PDFDocument.InternalLinks property to be populated.

None

Do not parse anything.

Remarks

The PDFParseDocumentStructureOptions enumeration is used as the type of the options parameter passed to the PDFDocument.ParseDocumentStructure method.

The structure of PDF document is its Table of Contents (TOC) which consists of the PDFBookmark objects saved in the document and the collection of the internal links (or jumps) between the pages that are found in all the pages (PDFInternalLink objects).

When a PDFDocument object is created, the value of PDFDocument.Bookmarks and PDFDocument.InternalLinks will be initialized to null (Nothing in Visual Basic). You must call the PDFDocument.ParseDocumentStructure method to parse the items you are interested in (determined by the PDFParseDocumentStructureOptions 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 of interest.

You can parse either the bookmarks or internal links or both of a PDF document using the the PDFDocument.ParseDocumentStructure method. When the method returns, the PDFDocument will be updated as follows:

The values of PDFParseDocumentStructureOptions can be OR'ed together.

Example

For an example, refer to PDFDocument.ParseDocumentStructure.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Pdf.PDFParseDocumentStructureOptions

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Leadtools.Pdf Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.