PdfSaveOptions.AdditionalTextPositioning property

A flag specifying whether to write additional text positioning operators or not.

public bool AdditionalTextPositioning { get; set; }


If true, additional text positioning operators are written to the output PDF. This may help to overcome issues with inaccurate text positioning with some printers. The downside is the increased PDF document size.

The default value is false.


Show how to write additional text positioning operators.

Document doc = new Document(MyDir + "Text positioning operators.docx");

// Create a "PdfSaveOptions" object that we can pass to the document's "Save" method
// to modify how that method converts the document to .PDF.
PdfSaveOptions saveOptions = new PdfSaveOptions
    TextCompression = PdfTextCompression.None,

    // Set the "AdditionalTextPositioning" property to "true" to attempt to fix incorrect
    // element positioning in the output PDF, should there be any, at the cost of increased file size.
    // Set the "AdditionalTextPositioning" property to "false" to render the document as usual.
    AdditionalTextPositioning = applyAdditionalTextPositioning

doc.Save(ArtifactsDir + "PdfSaveOptions.AdditionalTextPositioning.pdf", saveOptions);

See Also