Class Convert.XPSOutputCommonOptions
A class containing options common to ToXps and ToXod functions
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public class Convert.XPSOutputCommonOptions
Constructors
XPSOutputCommonOptions()
Creates an XPSConvertOptions object with default settings
Declaration
public XPSOutputCommonOptions()
Methods
GenerateURLLinks(bool)
Sets whether links should be generated from urls found in the document. Default is false.
Declaration
public void GenerateURLLinks(bool generate)
Parameters
Type | Name | Description |
---|---|---|
bool | generate | if true links will be generated from urls |
SetDPI(uint)
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.
Declaration
public void SetDPI(uint dpi)
Parameters
Type | Name | Description |
---|---|---|
uint | dpi | the resolution in Dots Per Inch |
SetOverprint(OverprintPreviewMode)
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.
Declaration
public void SetOverprint(PDFRasterizer.OverprintPreviewMode mode)
Parameters
Type | Name | Description |
---|---|---|
PDFRasterizer.OverprintPreviewMode | mode | op e_op_on: always enabled; e_op_off: always disabled; e_op_pdfx_on: enabled for PDF/X files only. |
SetPrintMode(bool)
Sets whether ToXps should be run in print mode. Default is false.
Declaration
public void SetPrintMode(bool print_mode)
Parameters
Type | Name | Description |
---|---|---|
bool | print_mode | if true print mode is enabled |
SetRenderPages(bool)
Sets whether rendering of pages should be permitted when necessary to guarantee output the default setting is to allow rendering in this case. Default is true.
Declaration
public void SetRenderPages(bool render)
Parameters
Type | Name | Description |
---|---|---|
bool | render | if false rendering is not permitted under any circumstance |
SetThickenLines(bool)
Sets whether thin lines should be thickened. Default is true for XPS and false for XOD.
Declaration
public void SetThickenLines(bool thicken)
Parameters
Type | Name | Description |
---|---|---|
bool | thicken | if true then thin lines will be thickened |