Table of Contents

Enum PdfWriterLayout

Namespace
PdfSharp.Pdf.IO
Assembly
PdfSharp.dll

Determines how the PDF output stream is formatted. Even all formats create valid PDF files, only Compact or Standard should be used for production purposes.

public enum PdfWriterLayout

Fields

Compact = 0

The PDF stream contains no unnecessary characters. This is default in release build.

Indented = 2

The PDF stream is indented to reflect the nesting levels of the objects. This is useful for analyzing PDF files, but increases the size of the file significantly.

Standard = 1

The PDF stream contains some superfluous line feeds but is more readable.

Verbose = 3

The PDF stream is indented to reflect the nesting levels of the objects and contains additional information about the PDFsharp objects. Furthermore, content streams are not deflated. This is useful for debugging purposes only and increases the size of the file significantly.