Specifies bit field values that are combined to adjust how PDF documents are saved.
Syntax
Members
Member | Description |
ADD_FLATE | Encode any uncompressed streams with Flate, except for metadata streams, which are never encoded, and for streams that would be larger when encoded. This flag is ignored unless FULL is also used. |
BINARY_OK |
Allow binary data to be saved in the PDF file.
Obsolete. Binary data is always allowed in the saved file.
|
COLLECT_GARBAGE | Remove unreferenced objects, often reducing file size. This flag is ignored unless FULL is also used. |
COMPRESS_STRUCTURE_ONLY | Compress only those objects that are related to logical structure (for example, tagged PDF). The result is compatible with any version of PDF or Acrobat, but the compressed objects are usable only in PDF 1.5 (Acrobat 6). This flag is ignored unless FULL is also used. Cannot be used with UNCOMPRESSED or COMPRESSED . |
COMPRESSED | Compress objects, without restrictions about which objects to compress. The result is compatible only with PDF 1.5 (Acrobat 6) or later. This flag is ignored unless FULL is also used. Cannot be used with UNCOMPRESSED or COMPRESSED_STRUCTURE_ONLY . |
COPY | Save a copy of the document but continue using the old file. This flag is ignored unless FULL is also used. |
DO_NOT_SAVE_FILE_ATTRIBUTES |
Do not save the new file output with the file attributes of the original.
|
FORCE_INCREMENTAL |
Perform an incremental save when saving to a different file or the
document's version number has changed.
|
FULL |
Save the entire document.
|
INCREMENTAL |
Save only those portions of the document that have changed.
|
KEEP_MODDATE | Do not update ModDate in the saved PDF document information dictionary. |
LINEARIZED | Linearize for page-served remote access. During linearization, all objects in the PDF file are usually renumbered. This flag is ignored unless FULL is also used. |
OPTIMIZE_CONTENT_STREAMS |
Look for common initial sub-sequences among content streams (the sequences of marking
operators), and generate substreams that can be shared.
|
OPTIMIZE_FONTS |
Merge identical font descriptors and encodings. Does not merge the top-level font dictionary.
|
OPTIMIZE_XOBJECTS |
Merge identical forms and images, as determined by an MD5 hash of their contents.
|
REMOVE_ASCII_FILTERS | Remove ASCII85 filters from all streams. This flag is ignored unless FULL is also used. |
REPLACE_LZW | Replace all LZW filters with FlateEncode filters. This flag is ignored unless FULL is also used. |
UNCOMPRESSED | Do not use any stream compression (decompress all). The saved PDF document is compatible with all versions of PDF and Acrobat. This flag is ignored unless FULL is also used. Cannot be used with COMPRESSED or COMPRESSED_STRUCTURE_ONLY . |
WITH_PS_HEADER |
Write a PostScript header as part of the saved file.
Obsolete. PostScript headers are never written to the saved file.
|
Inheritance Hierarchy
System.Object
System.ValueType
System.Enum
ImageGear.Formats.PDF.ImGearPDFSaveFlags
See Also