ImageGear .NET v25.0 - 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
MemberDescription
ADD_FLATEEncode 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_GARBAGERemove unreferenced objects, often reducing file size. This flag is ignored unless FULL is also used.
COMPRESS_STRUCTURE_ONLYCompress 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.
COMPRESSEDCompress 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.
COPYSave 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_MODDATEDo not update ModDate in the saved PDF document information dictionary.
LINEARIZEDLinearize 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_FILTERSRemove ASCII85 filters from all streams. This flag is ignored unless FULL is also used.
REPLACE_LZWReplace all LZW filters with FlateEncode filters. This flag is ignored unless FULL is also used.
UNCOMPRESSEDDo 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

Reference

ImageGear.Formats.PDF Namespace