IOperationServiceRegisterBeforeFormatDocumentHandler Method |
Allows modifying the document before the formatting. Returning 'null' from the callback will result in no changes being applied to the document markup.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
SyntaxIDisposable RegisterBeforeFormatDocumentHandler(
Func<(Guid printingDeviceId, Document documentMarkup), Document> callback
)
Parameters
- callback FuncValueTupleGuid, Document, Document
-
Callback to return modified document.
Return Value
IDisposable
See Also