PrintRange Enum

Definition

Specifies the part of the document to print.

public enum class PrintRange
public enum PrintRange
[System.Serializable]
public enum PrintRange
type PrintRange = 
[<System.Serializable>]
type PrintRange = 
Public Enum PrintRange
Inheritance
PrintRange
Attributes

Fields

AllPages 0

All pages are printed.

CurrentPage 4194304

The currently displayed page is printed.

Selection 1

The selected pages are printed.

SomePages 2

The pages between FromPage and ToPage are printed.

Remarks

The PrinterSettings and PrintDialog classes use this enumeration.

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

Applies to

See also