Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PrintRange Enumeration

Specifies the part of the document to print.

[Visual Basic]
<Serializable>
Public Enum PrintRange
[C#]
[Serializable]
public enum PrintRange
[C++]
[Serializable]
__value public enum PrintRange
[JScript]
public
   Serializable
enum PrintRange

Remarks

The PrinterSettings and PrintDialog classes use this enumeration.

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

Members

Member name Description
AllPages All pages are printed.
Selection The selected pages are printed.
SomePages The pages between FromPage and ToPage are printed.

Requirements

Namespace: System.Drawing.Printing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

System.Drawing.Printing Namespace | PrinterSettings

Show:
© 2015 Microsoft