IgnorePrinterMetrics

LayoutOptions.IgnorePrinterMetrics property

Gets or sets indication of whether the “Use printer metrics to lay out document” compatibility option is ignored. Default is true.

public bool IgnorePrinterMetrics { get; set; }

Examples

Shows how to ignore ‘Use printer metrics to lay out document’ option.

Document doc = new Document(MyDir + "Rendering.docx");

doc.LayoutOptions.IgnorePrinterMetrics = false;

doc.Save(ArtifactsDir + "Document.IgnorePrinterMetrics.docx");

See Also