LinkBase.StopPageBuilding() Method

Interrupts the process of document creation.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v21.2.dll


public void StopPageBuilding()


When a document is being created in the background (by calling the LinkBase.CreateDocument method with the buildForInstantPreview parameter set to true), you can interrupt the document creation at any moment by calling the StopPageBuilding method. All pages that have already been created prior to calling this method will be displayed in the Print Preview, and can be printed or exported.

See Also