Click or drag to resize
Pdftools logo

OutputOptions Class

The parameters for document-level features of output PDFs

Output options are used in many operations that create PDF documents.
Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.PdfOutputOptions
        PdfTools.SignOutputOptions

Namespace: PdfTools.Pdf
Assembly: PdfTools (in PdfTools.dll) Version: 1.19.0+2160c7724ea9111cae8ed0e8ced3b10611191789
Syntax
C#
public class OutputOptions : NativeObject

The OutputOptions type exposes the following members.

Constructors
 NameDescription
Public methodOutputOptions 
Top
Properties
 NameDescription
Public propertyEncryption

The parameters to encrypt output PDFs

If , no encryption is used.

Encryption is not allowed by the PDF/A ISO standards. For that reason, it is recommended to use when processing PDF/A documents. Otherwise, most operations will remove PDF/A conformance from the output document. More details can be found in the documentation of the operation.

Default: , no encryption is used.

Public propertyLinearize

Whether to linearize the output document

If , the output document is written in a linearized form ("Fast Web View"), so that a conforming viewer can display the first page before the entire file has been loaded.

Note: This property is applied by operations that write the output PDF, such as Assemble, OptimizeDocument(Document, Stream, Profile, OutputOptions) and Convert(AnalysisResult, Document, Stream, ConversionOptions, OutputOptions). The signing operations of Signer apply it where supported, but not when existing signatures must be preserved: such documents are signed using an incremental update, which is incompatible with linearization. The property has no effect for other operations, such as image-to-PDF conversion (Converter) and optical character recognition (Processor).

Default:

Public propertyMetadataSettings Default: , metadata are copied to the output document.
Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also