Share via


PrintPageRange Klasse

Definition

Beschreibt den Seitenbereich in einem Drucktask.

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
Vererbung
Object Platform::Object IInspectable PrintPageRange
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1803 (eingeführt in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v6.0)

Konstruktoren

PrintPageRange(Int32)

Initialisiert eine instance der PrintPageRange-Klasse unter Verwendung der angegebenen Seitenzahl.

PrintPageRange(Int32, Int32)

Initialisiert eine instance der PrintPageRange-Klasse unter Verwendung der angegebenen ersten und letzten Seitenzahlen.

Eigenschaften

FirstPageNumber

Ruft die erste Seitenzahl des Druckbereichs ab.

LastPageNumber

Ruft die letzte Seitenzahl des Druckbereichs ab.

Gilt für: