Class ContentOptions


public class ContentOptions extends NativeObject

The parameters how to render PDF content elements

  • Method Details

    • getAnnotations

      public AnnotationOptions getAnnotations()

      The render strategy for annotations (Getter)

      Defines whether to render annotation popups. For details, see AnnotationOptions.

      Default: AnnotationOptions.SHOW_ANNOTATIONS

    • setAnnotations

      public void setAnnotations(AnnotationOptions value)

      The render strategy for annotations (Setter)

      Defines whether to render annotation popups. For details, see AnnotationOptions.

      Default: AnnotationOptions.SHOW_ANNOTATIONS

      Throws:
      IllegalArgumentException - if value is null
    • getRenderText

      public boolean getRenderText()

      Defines whether to render text. When set to false, text rendering is skipped entirely. Text embedded in images and text created by drawing lines or paths are still rendered. Skipping text rendering can speed up the rendering process, especially for documents with many text elements.

      Default: true.

    • setRenderText

      public void setRenderText(boolean value)

      Defines whether to render text. When set to false, text rendering is skipped entirely. Text embedded in images and text created by drawing lines or paths are still rendered. Skipping text rendering can speed up the rendering process, especially for documents with many text elements.

      Default: true.