[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.OptimizeDocumentOptions.UseObjectStreams

UseObjectStreams Property

UseObjectStreams

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

Using Multiple (recommended) or Single can significantly reduce the size of the saved PDF in most cases.

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 a cross-reference table and is saved using incremental update.

The default value is Single.

Declaration
public UseObjectStreams UseObjectStreams { get; set; }
Public Property UseObjectStreams As UseObjectStreams