Table of Contents

Method OnNativePrintDocumentBeginPrint

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

OnNativePrintDocumentBeginPrint(object?, CancelEventArgs)

Raises the event signaling the start of a native print document operation.

protected virtual void OnNativePrintDocumentBeginPrint(object? sender, CancelEventArgs e)

Parameters

sender object

The source of the event, typically the print document initiating the operation.

e CancelEventArgs

A CancelEventArgs instance that can be used to cancel the print operation.

Remarks

Override this method to perform custom actions when a native print document begins printing. Setting e.Cancel to true will abort the print operation.