ImageGear .NET v25.1 - Updated
ImGearPDFSaveFlags Enumeration




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace : ImGearPDFSaveFlags Enumeration
Specifies bit field values that are combined to adjust how PDF documents are saved.
Syntax
'Declaration
 
Public Enum ImGearPDFSaveFlags 
   Inherits System.Enum
'Usage
 
Dim instance As ImGearPDFSaveFlags
public enum ImGearPDFSaveFlags : System.Enum 
__value public enum ImGearPDFSaveFlags : public System.Enum 
public enum class ImGearPDFSaveFlags : public System.Enum 
Members
MemberValueDescription
ADD_FLATE1048576Encode 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_OK16 Allow binary data to be saved in the PDF file. Obsolete. Binary data is always allowed in the saved file.
COLLECT_GARBAGE32Remove unreferenced objects, often reducing file size. This flag is ignored unless FULL is also used.
COMPRESS_STRUCTURE_ONLY262144Compress 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.
COMPRESSED131072Compress 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.
COPY2Save a copy of the document but continue using the old file. This flag is ignored unless FULL is also used.
DO_NOT_SAVE_FILE_ATTRIBUTES65536 Do not save the new file output with the file attributes of the original.
FORCE_INCREMENTAL64 Perform an incremental save when saving to a different file or the document's version number has changed.
FULL1 Save the entire document.
INCREMENTAL0 Save only those portions of the document that have changed.
KEEP_MODDATE128Do not update ModDate in the saved PDF document information dictionary.
LINEARIZED4Linearize 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_STREAMS8388608 Look for common initial sub-sequences among content streams (the sequences of marking operators), and generate substreams that can be shared.
OPTIMIZE_FONTS16777216 Merge identical font descriptors and encodings. Does not merge the top-level font dictionary.
OPTIMIZE_XOBJECTS4194304 Merge identical forms and images, as determined by an MD5 hash of their contents.
REMOVE_ASCII_FILTERS524288Remove ASCII85 filters from all streams. This flag is ignored unless FULL is also used.
REPLACE_LZW2097152Replace all LZW filters with FlateEncode filters. This flag is ignored unless FULL is also used.
UNCOMPRESSED536870912Do 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_HEADER8 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

Reference

ImageGear.Formats.PDF Namespace