IRenderingConfig

A structure containing Hi-res output and proof images configuration. See the Configuring High Resolution and Proof Images topic for details.

Properties

Optional hiResOutputBackgroundColor

hiResOutputBackgroundColor: string

Background color for the hi-res output. The default value is "rgba(255,255,255,0)".

Optional hiResOutputColorSpace

hiResOutputColorSpace: string

Color space of hi-res output; it can have one of the following values: "RGB", "CMYK", "Grayscale". The default value is "RGB".

Optional hiResOutputCompression

hiResOutputCompression: string

Type of hi-res output compression; "jpeg" and "zip" are supported for PDF files only, whereas "lzw" is supported for TIFF files; it can have one of the following values: "jpeg", "zip", "none", "lzw". The default value is "zip".

Optional hiResOutputDpi

hiResOutputDpi: number

Hi-res output resolution in dots per inch (DPI). The default value is 300.

Optional hiResOutputFileFormat

hiResOutputFileFormat: string

Type of hi-res output; it can have one of the following values: "pdf", "jpeg", "png", "tiff". The default value is "pdf".

Optional hiResOutputFlipMode

hiResOutputFlipMode: string

Flip mode for hi-res outputs. Allows for flipping hi-res output images. It can have one of the following values: "none", "vertical", "horizontal", "both". The default value is "none".

Optional hiResOutputJpegCompressionQuality

hiResOutputJpegCompressionQuality: number

JPEG compression quality in percent; this parameter makes sense only for JPEG and PDF formats. For PDF it should be used along with hiResOutputCompression="jpeg". The default value is 90.

Optional hiResOutputPdfMetadata

hiResOutputPdfMetadata: IPdfMetadata

PDF metadata to be saved in the hi-res output. You can save such data as a document title, author and creator names, keywords, and a document subject.

Optional hiResOutputToSeparateFiles

hiResOutputToSeparateFiles: boolean

If true, then hi-res output for each side of a multipage product will be put in a separate file.

Optional proofImageCropSafetyLine

proofImageCropSafetyLine: string

Name of a safety line which proof images are cropped to; if there is no safety line with the given name, proof images are not cropped. The default value is "bleed". See the Configuring High Resolution and Proof Images topic.

Optional proofImageFileFormat

proofImageFileFormat: string

Type of proof image files; it can be "JPEG" or "PNG". The default value is "PNG".

Optional proofImageFlipMode

proofImageFlipMode: string

Flip mode for proof images. Allows for flipping proof images. Possible values are "none", "vertical", "horizontal", "both". The default value is "none".

Optional proofImageMockupEnabled

proofImageMockupEnabled: boolean

Displays mockups on proof images. The default value is true.

Optional proofImageSafetyLinesEnabled

proofImageSafetyLinesEnabled: boolean

Allows for drawing safety lines on proof images. The default value is false.

Optional proofImageSpineAndFoldingLinesEnabled

proofImageSpineAndFoldingLinesEnabled: boolean

Displays spines and folding lines on proof images. The default value is true.

Optional proofImageWatermarkEnabled

proofImageWatermarkEnabled: boolean

Displays watermark on proof images. The default value is true.

Optional proofImageWatermarkFontPostScriptName

proofImageWatermarkFontPostScriptName: string

Watermark font name. The default value is "ArialMT".

Optional proofImageWatermarkFontSize

proofImageWatermarkFontSize: number

Watermark font size in points. The default value is 35.

Optional proofImageWatermarkText

proofImageWatermarkText: string

Watermark text. The default value is "watermark".