Method OnNativePrintDocumentEndPrint
OnNativePrintDocumentEndPrint(object?, CancelEventArgs)
Handles the completion of a native print document operation and updates the cancellation status based on the print event arguments.
protected virtual void OnNativePrintDocumentEndPrint(object? sender, CancelEventArgs e)
Parameters
senderobjectThe source of the event, typically the print document or related component.
eCancelEventArgsA CancelEventArgs that contains the event data, including the cancellation status for the print operation.
Remarks
Override this method to customize behavior when a native print document finishes
printing. The cancellation status in e will be updated according to the result of the
print event.