[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.SavePdfOptions

SavePdfOptions Class

Inheritance
SavePdfOptions
Namespace: GrapeCity.Documents.Pdf
Assembly: DS.Documents.Pdf.dll
Syntax
public class SavePdfOptions
Public Class SavePdfOptions

Constructors

Name Description
SavePdfOptions(SaveMode, PdfStreamHandling, UseObjectStreams)

Initializes a new instance of the SavePdfOptions class.

Properties

Name Description
Mode

Gets or sets a value specifying the PDF save mode.

PdfStreamHandling

Gets or sets a value controlling how existing PDF streams will be handled when the document is saved. Note that this property is meaningful only if an existing PDF has been loaded.

UseObjectStreams

Gets or sets a value indicating whether to use object streams when saving the PDF.

Setting this property to Multiple (recommended) or Single would in most cases significantly reduce the size of the PDF.

Note that this property is ignored and object streams are not used if:
  • The document is created using StartDoc(Stream)/EndDoc() methods.
  • The document is saved in linearized form.
  • The document uses cross-reference table and is saved using incremental update.