PrintPageRange Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |
Initializes an instance of the PrintPageRange class, using the specified page number. |
PrintPageRange(Int32, Int32) |
Initializes an instance of the PrintPageRange class, using the specified first and last page numbers. |
Properties
FirstPageNumber |
Gets the first page number of the print range. |
LastPageNumber |
Gets the last page number of the print range. |