PDF4Java Reference Documentation
com.o2sol.pdf4java.content Package / PDFContentExtractor Class / extractVisualObjects Method / extractVisualObjects(boolean,boolean) Method
True if image data should be extracted and decoded.
True if the list of Objects should preserve the graphic containers such as form XObjects.
Collapse All Expand All
In This Topic

extractVisualObjects(boolean,boolean) Method
In This Topic
Extracts the page content as a list of visual Objects.
Syntax

    public PDFVisualObjectCollection extractVisualObjects(
       boolean includeImageData,
       boolean keepGraphicContainers
    )

#### Parameters

includeImageData
  True if image data should be extracted and decoded.
keepGraphicContainers
  True if the list of Objects should preserve the graphic containers such as form XObjects.

#### Return Value

The list of visual Objects that are displayed on the page.
See Also

#### Reference

PDFContentExtractor Class
PDFContentExtractor Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.