Click or drag to resize
CanvasPrintDocumentSetPageCount Method
Sets the final page count, as used by the print preview dialog.

Namespace:  Microsoft.Graphics.Canvas.Printing
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void SetPageCount(
	uint count
)

Parameters

count
Type: SystemUInt32
Remarks

If it is going to take a long time to asynchronously calculate the page count then it may be worth calling SetIntermediatePageCount(UInt32) periodically to allow the preview dialog to update its UI.

See Also