PreviewPageCountType
PreviewPageCountType
PreviewPageCountType
PreviewPageCountType
Enum
Definition
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
- Attributes
Windows 10 requirements
Device family |
Windows 10 (introduced v10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
Final Final Final Final | Page count is based on final print job total. |
Intermediate Intermediate Intermediate Intermediate | Page count is based on an intermediate total. |
Remarks
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.