Table of Contents

Property WriteWithoutFormatting

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

WriteWithoutFormatting

Gets or sets a value indicating whether to write PDF data without formatting (without whitespaces needed only for humans).

public bool WriteWithoutFormatting { get; set; }

Property Value

bool

true if library should write PDF data without formatting; otherwise, false.

Remarks

Default value: true.

Setting this property to true will cause library to use very minimum of whitespace characters when saving PDF files. It helps to produce smaller output files but may be not very convenient if you want to debug library output. Setting this property to false will cause library to write content of PDF file in human-readable form.

When saving a file incrementally (when WriteIncrementally is true), this property only affects the increment. There won't be any changes to the part with the original file contents.