DocumentPreviewControl.StopBuilding() Method
Stops building the document.
Namespace: DevExpress.Xpf.Printing
Assembly: DevExpress.Xpf.Printing.v24.1.dll
NuGet Package: DevExpress.Wpf.Printing
Declaration
Remarks
Call the StopBuilding method to stop generating document pages if they started generation using the CreateDocument method of the document source object with the buildForInstantPreview parameter set to true.
To determine whether it is allowed to stop building the document, call the DocumentPreviewControl.CanStopBuilding method.
After the StopBuilding method is called, all pages that are currently ready will be shown in the DocumentPreviewControl.
See Also