PreviewPageCountType PreviewPageCountType PreviewPageCountType PreviewPageCountType Enum


Describes the basis of the page count.

public : enum class PreviewPageCountType
enum class winrt::Windows::UI::Xaml::Printing::PreviewPageCountType : int32_t
public enum PreviewPageCountType
Public Enum PreviewPageCountType

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Final Final Final Final 0

Page count is based on final print job total.

Intermediate Intermediate Intermediate Intermediate 1

Page count is based on an intermediate total.


During print preview, call SetPreviewPageCount with the value PreviewPageCountType.Intermediate. This way, the print preview can show the first page while the app calculates the rest of the pages. If the actual page count to be printed is known, pass PreviewPageCountType.Final. When PreviewPageCountType.Final is passed to SetPreviewPageCount, SetJobPageCount method is called with the total number of pages.