Rediger

Del via


VisualsToXpsDocument.Cancel Method

Definition

Cancels a synchronous writing operation.

public:
 override void Cancel();
public override void Cancel ();
override this.Cancel : unit -> unit
Public Overrides Sub Cancel ()

Exceptions

The state of the VisualsToXpsDocument is not compatible with a Cancel() operation.

Remarks

For example, an exception is thrown if the Cancel method is called and a writing operation is not in progress.

Applies to