ignore_printer_metrics property

LayoutOptions.ignore_printer_metrics property

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

@property
def ignore_printer_metrics(self) -> bool:
    ...

@ignore_printer_metrics.setter
def ignore_printer_metrics(self, value: bool):
    ...

Examples

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

doc = aw.Document(file_name=MY_DIR + 'Rendering.docx')
doc.layout_options.ignore_printer_metrics = False
doc.save(file_name=ARTIFACTS_DIR + 'Document.IgnorePrinterMetrics.docx')

See Also