Aspose::Words::Layout::LayoutOptions::set_IgnorePrinterMetrics method

LayoutOptions::set_IgnorePrinterMetrics method

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

void Aspose::Words::Layout::LayoutOptions::set_IgnorePrinterMetrics(bool value)

Examples

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

auto doc = System::MakeObject<Aspose::Words::Document>(System::String(get_MyDir() + u"Rendering.docx"));

doc->get_LayoutOptions()->set_IgnorePrinterMetrics(false);

doc->Save(get_ArtifactsDir() + u"Document.IgnorePrinterMetrics.docx");

See Also