PDFSaveOptions

Options which may be supplied when saving a document as a PDF file.

Constants/Events

Name

Type

Access

Description

acrobatLayers

Boolean

readonly

Create acrobat layers from top-level layers - acrobat 6 only option.

artboardRange

String

readonly

Considered for multi-asset extraction which specifies artboard range.Empty string will extracts all the artboards.Default is empty string.

bleedLink

Boolean

readonly

Link 4 bleed values.

bleedOffsetRect

Rect

readonly

The bleed offset rect.

colorBars

Boolean

readonly

Draw color bars.

colorCompression

CompressionQuality

CompressionQuality.AUTOMATICJPEG2000HIGH

CompressionQuality.AUTOMATICJPEG2000LOSSLESS

CompressionQuality.AUTOMATICJPEG2000LOW

CompressionQuality.AUTOMATICJPEG2000MAXIMUM

CompressionQuality.AUTOMATICJPEG2000MEDIUM

CompressionQuality.AUTOMATICJPEG2000MINIMUM

CompressionQuality.AUTOMATICJPEGHIGH

CompressionQuality.AUTOMATICJPEGLOW

CompressionQuality.AUTOMATICJPEGMAXIMUM

CompressionQuality.AUTOMATICJPEGMEDIUM

CompressionQuality.AUTOMATICJPEGMINIMUM

CompressionQuality.JPEG2000HIGH

CompressionQuality.JPEG2000LOSSLESS

CompressionQuality.JPEG2000LOW

CompressionQuality.JPEG2000MAXIMUM

CompressionQuality.JPEG2000MEDIUM

CompressionQuality.JPEG2000MINIMUM

CompressionQuality.JPEGHIGH

CompressionQuality.JPEGLOW

CompressionQuality.JPEGMAXIMUM

CompressionQuality.JPEGMEDIUM

CompressionQuality.JPEGMINIMUM

CompressionQuality.None

CompressionQuality.ZIP4BIT

CompressionQuality.ZIP8BIT

readonly

How should color bitmap images be compressed.

colorConversionID

ColorConversion

ColorConversion.COLORCONVERSIONREPURPOSE

ColorConversion.COLORCONVERSIONTODEST

ColorConversion.None

readonly

PDF color conversion policy. Three choices are available: (1)No Color Conversion (2) Repurpose (3) Convert to Destination.

colorDestinationID

ColorDestination

ColorDestination.COLORDESTINATIONDOCCMYK

ColorDestination.COLORDESTINATIONDOCRGB

ColorDestination.COLORDESTINATIONPROFILE

ColorDestination.COLORDESTINATIONWORKINGCMYK

ColorDestination.COLORDESTINATIONWORKINGRGB

ColorDestination.None

readonly

When NoColorConversion is specified for Color Conversion, NoColorDestination is set.

colorDownsampling

Number

readonly

If zero, no downsampling, otherwise, the resolution to downsample color bitmap images to.

colorDownsamplingImageThreshold

Number

readonly

Downsample if the image's resolution is above this value.

colorDownsamplingMethod

DownsampleMethod

DownsampleMethod.AVERAGEDOWNSAMPLE

DownsampleMethod.BICUBICDOWNSAMPLE

DownsampleMethod.NODOWNSAMPLE

DownsampleMethod.SUBSAMPLE

readonly

How should color bitmap images be resampled.

colorProfileID

ColorProfile

ColorProfile.INCLUDEALLPROFILE

ColorProfile.INCLUDEDESTPROFILE

ColorProfile.INCLUDERGBPROFILE

ColorProfile.LEAVEPROFILEUNCHANGED

ColorProfile.None

readonly

If CMS is off, Don't Include Profiles is set.

colorTileSize

Int32

readonly

Tile size when compressing with JPEG2000.

compatibility

PDFCompatibility

PDFCompatibility.ACROBAT4

PDFCompatibility.ACROBAT5

PDFCompatibility.ACROBAT6

PDFCompatibility.ACROBAT7

PDFCompatibility.ACROBAT8

readonly

The version of the Acrobat file format to create.

compressArt

Boolean

readonly

Should line art and text be compressed?

documentPassword

String

readonly

A password string to open the document.

enableAccess

Boolean

readonly

Enable accessing 128-bit.

enableCopy

Boolean

readonly

Enable copying of text 128-bit.

enableCopyAccess

Boolean

readonly

Enable copying and accessing 40-bit.

enablePlainText

Boolean

readonly

Enable plaintext metadata 128-bit - available only for acrobat 6.

flattenerOptions

PrintFlattenerOptions

readonly

The printing flattener options.

flattenerPreset

String

readonly

The transparency flattener preset name.

fontSubsetThreshold

Number (range 0 - 100)

readonly

Include a subset of fonts when less than this percentage of characters are used.

generateThumbnails

Boolean

readonly

Generate thumbnails for the saved document.

grayscaleCompression

CompressionQuality

CompressionQuality.AUTOMATICJPEG2000HIGH

CompressionQuality.AUTOMATICJPEG2000LOSSLESS

CompressionQuality.AUTOMATICJPEG2000LOW

CompressionQuality.AUTOMATICJPEG2000MAXIMUM

CompressionQuality.AUTOMATICJPEG2000MEDIUM

CompressionQuality.AUTOMATICJPEG2000MINIMUM

CompressionQuality.AUTOMATICJPEGHIGH

CompressionQuality.AUTOMATICJPEGLOW

CompressionQuality.AUTOMATICJPEGMAXIMUM

CompressionQuality.AUTOMATICJPEGMEDIUM

CompressionQuality.AUTOMATICJPEGMINIMUM

CompressionQuality.JPEG2000HIGH

CompressionQuality.JPEG2000LOSSLESS

CompressionQuality.JPEG2000LOW

CompressionQuality.JPEG2000MAXIMUM

CompressionQuality.JPEG2000MEDIUM

CompressionQuality.JPEG2000MINIMUM

CompressionQuality.JPEGHIGH

CompressionQuality.JPEGLOW

CompressionQuality.JPEGMAXIMUM

CompressionQuality.JPEGMEDIUM

CompressionQuality.JPEGMINIMUM

CompressionQuality.None

CompressionQuality.ZIP4BIT

CompressionQuality.ZIP8BIT

readonly

How should grayscale bitmap images be compressed.

grayscaleDownsampling

Number

readonly

If zero, no downsampling, otherwise, the resolution to downsample grayscale images to.

grayscaleDownsamplingImageThreshold

Number

readonly

Downsample if the image's resolution is above this value.

grayscaleDownsamplingMethod

DownsampleMethod

DownsampleMethod.AVERAGEDOWNSAMPLE

DownsampleMethod.BICUBICDOWNSAMPLE

DownsampleMethod.NODOWNSAMPLE

DownsampleMethod.SUBSAMPLE

readonly

How should grayscale bitmap images be resampled.

grayscaleTileSize

Int32

readonly

Tile size when compressing with JPEG2000.

monochromeCompression

MonochromeCompression

MonochromeCompression.CCIT3

MonochromeCompression.CCIT4

MonochromeCompression.MONOZIP

MonochromeCompression.None

MonochromeCompression.RUNLENGTH

readonly

How should monochrome bitmap images be compressed.

monochromeDownsampling

Number

readonly

If zero, no downsampling, otherwise, the resolution to downsample images to.

monochromeDownsamplingImageThreshold

Number

readonly

Downsample if the image's resolution is above this value.

monochromeDownsamplingMethod

DownsampleMethod

DownsampleMethod.AVERAGEDOWNSAMPLE

DownsampleMethod.BICUBICDOWNSAMPLE

DownsampleMethod.NODOWNSAMPLE

DownsampleMethod.SUBSAMPLE

readonly

How should monochrome bitmap images be resampled.

offset

Number

readonly

Custom offset (in points) for using the custom paper.

optimization

Boolean

readonly

Should the PDF document be optimized for fast web viewing.

outputCondition

String

readonly

This is an optional comment which, if present, is added to the PDF file and describes the intended printing condition.

outputConditionID

String

readonly

If selected for Output Intent Profile Name, you can set the name of a registered printing condition.

outputIntentProfile

String

readonly

When CMS is on, the output intent profile is the same profile selected for Destination in the Color group box.

pDFAllowPrinting

PDFPrintAllowedEnum

PDFPrintAllowedEnum.PRINT128HIGHRESOLUTION

PDFPrintAllowedEnum.PRINT128LOWRESOLUTION

PDFPrintAllowedEnum.PRINT128NONE

PDFPrintAllowedEnum.PRINT40HIGHRESOLUTION

PDFPrintAllowedEnum.PRINT40NONE

readonly

PDF security printing permission.

pDFChangesAllowed

PDFChangesAllowedEnum

PDFChangesAllowedEnum.CHANGE128ANYCHANGES

PDFChangesAllowedEnum.CHANGE128COMMENTING

PDFChangesAllowedEnum.CHANGE128EDITPAGE

PDFChangesAllowedEnum.CHANGE128FILLFORM

PDFChangesAllowedEnum.CHANGE128NONE

PDFChangesAllowedEnum.CHANGE40ANYCHANGES

PDFChangesAllowedEnum.CHANGE40COMMENTING

PDFChangesAllowedEnum.CHANGE40NONE

PDFChangesAllowedEnum.CHANGE40PAGELAYOUT

readonly

PDF security changes allowed.

pDFPreset

String

readonly

The max string length is 255 bytes. Name of PDF preset to use.

pDFXStandard

PDFXStandard

PDFXStandard.PDFX1A2001

PDFXStandard.PDFX1A2003

PDFXStandard.PDFX32001

PDFXStandard.PDFX32002

PDFXStandard.PDFX32003

PDFXStandard.PDFX42007

PDFXStandard.PDFXNONE

readonly

This control includes the None option for when the user is not complying with any PDF standard.

pDFXStandardDescription

String

readonly

This displays the description from the selected preset.

pageInformation

Boolean

readonly

Draw page information.

pageMarksType

PageMarksTypes

PageMarksTypes.Japanese

PageMarksTypes.Roman

readonly

The page marks style.

permissionPassword

String

readonly

A password string to restrict editing security settings.

preserveEditability

Boolean

readonly

Preserve Illustrator editing capabilities when saving the document.

printerResolution

Number

readonly

Flattening printer resolution.

registrationMarks

Boolean

readonly

Draw registration marks.

registryName

String

readonly

URL to the site where the specified output condition is registered. No validation is performed on the URL.

requireDocumentPassword

Boolean

readonly

Require a password to open the document.

requirePermissionPassword

Boolean

readonly

Use a password to restrict editing security settings.

trapped

Boolean

readonly

This indicates if manual trapping has been prepared in the document.

trimMarkWeight

PDFTrimMarkWeight

PDFTrimMarkWeight.TRIMMARKWEIGHT0125

PDFTrimMarkWeight.TRIMMARKWEIGHT025

PDFTrimMarkWeight.TRIMMARKWEIGHT05

readonly

Trim mark weight.

trimMarks

Boolean

readonly

Draw trim marks.

viewAfterSaving

Boolean

readonly

View PDF after saving.