---
title: "PrinterSettings.PrintRange"
url: "https://reference.aspose.com/drawing/net/aspose.drawing.printing/printersettings/printrange/"
product: "Aspose.Drawing for .NET API Reference"
description: "PrinterSettings property. Gets the page numbers that the user has specified to be printed"
---

## PrinterSettings.PrintRange property

Gets the page numbers that the user has specified to be printed.

```csharp
public static PrintRange PrintRange { get; }
```

### Return Value

One of the `PrintRange` values.

### Exceptions

| exception | condition |
| --- | --- |
| !:ComponentModel.InvalidEnumArgumentException | The value of the `PrintRange` property is not one of the `PrintRange` values. |

### See Also

* enum [PrintRange](../../printrange/)
* class [PrinterSettings](../)
* namespace [Aspose.Drawing.Printing](../../printersettings/)
* assembly [Aspose.Drawing.Common](../../../)


