java.lang.Object |
↳ |
com.pdftron.pdf.ViewerOptimizedOptions |
Class Overview
A class containing ViewerOptimizedOptions
Summary
Public Methods |
void
|
setOverprint(int mode)
Enable or disable support for overprint and overprint simulation.
|
void
|
setThumbnailRenderingThreshold(int threshold)
For any pages that are not forced to include thumbnails this
function adjusts whether we should include them depending on the
complexity of the page.
|
void
|
setThumbnailSize(int size)
The maximum allowed length for the thumbnail's height/width.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Constants
public
static
final
int
e_op_off
Constant Value:
0
(0x00000000)
public
static
final
int
e_op_on
Constant Value:
1
(0x00000001)
public
static
final
int
e_op_pdfx_on
Constant Value:
2
(0x00000002)
Public Constructors
public
ViewerOptimizedOptions
()
Creates an ViewerOptimizedOptions object with default settings
Public Methods
public
void
setOverprint
(int mode)
Enable or disable support for overprint and overprint simulation.
Overprint is a device dependent feature and the results will vary depending on
the output color space and supported colorants (i.e. CMYK, CMYK+spot, RGB, etc).
Default is e_op_pdfx_on.
Parameters
mode |
e_op_on: always enabled; e_op_off: always disabled; e_op_pdfx_on: enabled for PDF/X files only. |
public
void
setThumbnailRenderingThreshold
(int threshold)
For any pages that are not forced to include thumbnails this
function adjusts whether we should include them depending on the
complexity of the page. This can be used to include fewer or more thumbnails
as required by the use case. In particular reducing this value
will tend to increase the number of page thumbnails included and vice versa.
Parameters
threshold |
A number from 0 (include all thumbnails) to 100
(include only the first thumbnail) representing the complexity at which
SaveViewerOptimized would include the thumbnail. The default value is 50. |
public
void
setThumbnailSize
(int size)
The maximum allowed length for the thumbnail's height/width.
The default thumbnail size is 1024.
Parameters
size |
the maximum dimension (width or height) that thumbnails will have. |