remove
Deletes the provided configuration from the document. If it's currently in use by any measurement annotations, a dialog is displayed. If the user decides via the dialog to delete the configuration anyways, the operation proceeds and will also delete those affected annotations.
Parameters
The context to be used if we need to show a dialog.
The MeasurementValueConfiguration to be removed from the document.
Deletes the value configuration from the document's configuration list. No checks are being made, no dialogs displayed.
Parameters
The MeasurementValueConfiguration to be removed from the document.
if true all measurement annotations that use the scale and precision of value will be deleted as well.
Set to true if the delete operation is supposed to be recorded to the undo stack.