ImGearPDFSaveFlags Enumeration
In This Topic
Specifies bit field values that are combined to adjust how PDF documents are saved.
Syntax
Members
Member | Value | Description |
ADD_FLATE | 1048576 | 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 | 16 |
Allow binary data to be saved in the PDF file.
Obsolete. Binary data is always allowed in the saved file.
|
COLLECT_GARBAGE | 32 | Remove unreferenced objects, often reducing file size. This flag is ignored unless FULL is also used. |
COMPRESS_STRUCTURE_ONLY | 262144 | 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 | 131072 | 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 | 2 | 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 | 65536 |
Do not save the new file output with the file attributes of the original.
|
FORCE_INCREMENTAL | 64 |
Perform an incremental save when saving to a different file or the
document's version number has changed.
|
FULL | 1 |
Save the entire document.
|
INCREMENTAL | 0 |
Save only those portions of the document that have changed.
|
KEEP_MODDATE | 128 | Do not update ModDate in the saved PDF document information dictionary. |
LINEARIZED | 4 | 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 | 8388608 |
Look for common initial sub-sequences among content streams (the sequences of marking
operators), and generate substreams that can be shared.
|
OPTIMIZE_FONTS | 16777216 |
Merge identical font descriptors and encodings. Does not merge the top-level font dictionary.
|
OPTIMIZE_XOBJECTS | 4194304 |
Merge identical forms and images, as determined by an MD5 hash of their contents.
|
REMOVE_ASCII_FILTERS | 524288 | Remove ASCII85 filters from all streams. This flag is ignored unless FULL is also used. |
REPLACE_LZW | 2097152 | Replace all LZW filters with FlateEncode filters. This flag is ignored unless FULL is also used. |
UNCOMPRESSED | 536870912 | 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 | 8 |
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