revertProduct

Callable

  • revertProduct(revertToinitial?: boolean ) : Promise < void >
  • Cancels all changes made by a user.

    Parameters

    • Optional revertToinitial: boolean

      Enables reverting the user changes to the initial product. false allows for reverting to the print areas which were set by setPrintAreas with updateRevertData set to true. true allows for reverting to the initial product despite the updateRevertData parameter. The default value is false.

    Returns Promise < void >