Click or drag to resize

IOperationServiceRegisterAfterFormatDocumentHandler Method

Allows modifying the document after the formatting. Returning 'null' from the callback will result in no changes being applied to the document markup.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
IDisposable RegisterAfterFormatDocumentHandler(
	Func<(Guid printingDeviceId, Document documentMarkup), Document> callback
)

Parameters

callback
Type: SystemFuncValueTupleGuid, Document, Document
Callback to return modified document.

Return Value

Type: IDisposable
See Also