Class: XPSOutputOptions

PDFNet.Convert. XPSOutputOptions


new XPSOutputOptions()

An object containing options for ToXps functions

Extends

Methods


Sets whether links should be generated from urls found in the document. Default is false.
Parameters:
Name Type Description
generate boolean if true links will be generated from urls
Inherited From:
Returns:
this object, for call chaining
Type
PDFNet.Convert.XPSOutputCommonOptions

setDPI(dpi)

The output resolution, from 1 to 1000, in Dots Per Inch (DPI) at which to render elements which cannot be directly converted. Default is 140.
Parameters:
Name Type Description
dpi number the resolution in Dots Per Inch
Inherited From:
Returns:
this object, for call chaining
Type
PDFNet.Convert.XPSOutputCommonOptions

setOpenXps(openxps)

Sets whether the output format should be open xps. Default is Microsoft xps output.
Parameters:
Name Type Description
openxps boolean if true open xps output is used
Returns:
this object, for call chaining
Type
PDFNet.Convert.XPSOutputOptions

setOverprint(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:
Name Type Description
mode number
PDFNet.Convert.OverprintPreviewMode = {
	e_op_off : 0
	e_op_on : 1
	e_op_pdfx_on : 2
}
e_op_on: always enabled; e_op_off: always disabled; e_op_pdfx_on: enabled for PDF/X files only.
Inherited From:
Returns:
this object, for call chaining
Type
PDFNet.Convert.XPSOutputCommonOptions

setPrintMode(print_mode)

Sets whether ToXps should be run in print mode. Default is false.
Parameters:
Name Type Description
print_mode boolean if true print mode is enabled
Inherited From:
Returns:
this object, for call chaining
Type
PDFNet.Convert.XPSOutputCommonOptions

setRenderPages(render)

Sets whether rendering of pages should be permitted when necessary to guarantee output. Default is true.
Parameters:
Name Type Description
render boolean if false rendering is not permitted under any circumstance
Inherited From:
Returns:
this object, for call chaining
Type
PDFNet.Convert.XPSOutputCommonOptions

setThickenLines(thicken)

Sets whether thin lines should be thickened. Default is true for XPS and false for XOD.
Parameters:
Name Type Description
thicken boolean if true then thin lines will be thickened
Inherited From:
Returns:
this object, for call chaining
Type
PDFNet.Convert.XPSOutputCommonOptions