Aspose::Words::Layout::LayoutOptions::get_IgnorePrinterMetrics method
LayoutOptions::get_IgnorePrinterMetrics method
Gets or sets indication of whether the “Use printer metrics to lay out document” compatibility option is ignored. Default is true.
bool Aspose::Words::Layout::LayoutOptions::get_IgnorePrinterMetrics() const
Examples
Shows how to ignore ‘Use printer metrics to lay out document’ option.
auto doc = MakeObject<Document>(MyDir + u"Rendering.docx");
doc->get_LayoutOptions()->set_IgnorePrinterMetrics(false);
doc->Save(ArtifactsDir + u"Document.IgnorePrinterMetrics.docx");
See Also
- Class LayoutOptions
- Namespace Aspose::Words::Layout
- Library Aspose.Words for C++