Class ContentOptions
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.pdf2image.ContentOptions
-
public class ContentOptions extends NativeObject
The parameters how to render PDF content elements
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationOptions
getAnnotations()
The render strategy for annotations (Getter)boolean
getRenderText()
Defines whether to render text.void
setAnnotations(AnnotationOptions value)
The render strategy for annotations (Setter)void
setRenderText(boolean value)
Defines whether to render text.-
Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
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:
java.lang.IllegalArgumentException
- ifvalue
isnull
-
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
.
-
-