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.Api
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax IDisposable RegisterBeforeFormatDocumentHandler(
Func<(Guid printingDeviceId, Document documentMarkup), Document> callback
)
Parameters
- callback
- Type: SystemFuncValueTupleGuid, Document, Document
Callback to return modified document.
Return Value
Type:
IDisposableSee Also