Method Log
Log(ILogWriter?)
Writes the current page settings to the specified log writer.
public virtual void Log(ILogWriter? log = null)
Parameters
logILogWriterThe log writer to which the page settings are written. If null, a debug log writer is used.
Remarks
This method outputs the values of the Color, Landscape, Margins, PaperSize, and PrinterResolution properties. The output is grouped within a section labeled "PageSettings". This method is typically used for diagnostic or debugging purposes.