All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pdftron::PDF::ViewerOptimizedOptions Class Reference

#include <ViewerOptimizedOptions.h>

Public Member Functions

 ViewerOptimizedOptions ()
 
void SetThumbnailRenderingThreshold (UInt32 threshold)
 
void SetThumbnailSize (UInt32 size)
 
void SetOverprint (PDFRasterizer::OverprintPreviewMode mode)
 

Detailed Description

Definition at line 18 of file ViewerOptimizedOptions.h.

Constructor & Destructor Documentation

pdftron::PDF::ViewerOptimizedOptions::ViewerOptimizedOptions ( )

Member Function Documentation

void pdftron::PDF::ViewerOptimizedOptions::SetOverprint ( PDFRasterizer::OverprintPreviewMode  mode)

Enable or disable support for overprint and overprint simulation in generated thumbnails. 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
modee_op_on: always enabled; e_op_off: always disabled; e_op_pdfx_on: enabled for PDF/X files only.
void pdftron::PDF::ViewerOptimizedOptions::SetThumbnailRenderingThreshold ( UInt32  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
thresholdA 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.
void pdftron::PDF::ViewerOptimizedOptions::SetThumbnailSize ( UInt32  size)

The maximum allowed length for the thumbnail's height/width. The default thumbnail size is 1024.

Parameters
sizethe maximum dimension (width or height) that thumbnails will have.

The documentation for this class was generated from the following file: