Jaa


PrintPageRange Class

Definition

Describes the range of pages in a print task.

public ref class PrintPageRange sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Graphics.Printing.IPrintPageRangeFactory, 393216, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintPageRange final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Graphics.Printing.IPrintPageRangeFactory), 393216, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintPageRange
function PrintPageRange(firstPage, lastPage)
Public NotInheritable Class PrintPageRange
Inheritance
Object Platform::Object IInspectable PrintPageRange
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Constructors

PrintPageRange(Int32, Int32)

Initializes an instance of the PrintPageRange class, using the specified first and last page numbers.

PrintPageRange(Int32)

Initializes an instance of the PrintPageRange class, using the specified page number.

Properties

FirstPageNumber

Gets the first page number of the print range.

LastPageNumber

Gets the last page number of the print range.

Applies to