Table of Contents

Method Log

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

Log()

Logs the available paper sizes in both millimeters and inches.

public static void Log()

Remarks

This method calls the Log method on two different size creators, one for millimeters and one for inches, to output the respective paper sizes.

Log(string?, ILogWriter?)

Logs the sizes of all known paper kinds to the specified log writer.

public virtual void Log(string? title = null, ILogWriter? log = null)

Parameters

title string

An optional title for the logging section. If null, "PaperSizes" is used.

log ILogWriter

The log writer to which the paper sizes are written. If null, the default debug log writer is used.

Remarks

This method begins a logging section labeled "PaperSizes", writes the size of each known paper kind, and then ends the section. The log writer must support sectioned logging and line writing.