Table of Contents

Method Log

Namespace
Alternet.Drawing.Printing
Assembly
Alternet.UI.Common.dll

Log(ILogWriter?)

Writes the current page settings to the specified log writer.

public virtual void Log(ILogWriter? log = null)

Parameters

log ILogWriter

The 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.