PDF4Java Reference Documentation
com.o2sol.pdf4java.core Package / PDFFile Class / extractPageContent Method / extractPageContent(int,int,boolean,boolean) Method
Start page to extract the content from.
End page to extract the content from.
True if annotations should be flattened and included in page content
True if form fields should be flattened and included in page content
Collapse All Expand All
In This Topic

extractPageContent(int,int,boolean,boolean) Method
In This Topic
Extracts the content of a PDF page set.
Syntax

    public PDFPageContent[] extractPageContent(
       int fromPage,
       int toPage,
       boolean includeAnnotations,
       boolean includeFormFields
    )

#### Parameters

fromPage
  Start page to extract the content from.
toPage
  End page to extract the content from.
includeAnnotations
  True if annotations should be flattened and included in page content
includeFormFields
  True if form fields should be flattened and included in page content

#### Return Value

Array of page contents in vector format.
See Also

#### Reference

PDFFile Class
PDFFile Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.