PrintRange Enumeration

PrintRange Enumeration

 

Specifies the part of the document to print.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

[SerializableAttribute]
public enum class PrintRange

Member nameDescription
AllPages

All pages are printed.

CurrentPage

The currently displayed page is printed

Selection

The selected pages are printed.

SomePages

The pages between FromPage and ToPage are printed.

The PrinterSettings and PrintDialog classes use this enumeration.

For more information on printing, see the System.Drawing.Printing namespace overview.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft