Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / SavePdfOptions Class / UseObjectStreams Property

In This Topic
    UseObjectStreams Property
    In This Topic
    Gets or sets a value indicating whether to use object streams when saving the PDF.

    Setting this property to UseObjectStreams.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%M:GrapeCity.Documents.Pdf.GcPdfDocument.EndDoc% methods.
    • The document is saved in linearized form.
    • The document uses cross-reference table and is saved using incremental update.
    Syntax
    'Declaration
     
    Public Property UseObjectStreams As UseObjectStreams
    public UseObjectStreams UseObjectStreams {get; set;}
    See Also