PrintRange

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class PrintRange extends System.Enum

Specifies the part of the document to print.

Fields

FieldDescription
AllPagesAll pages are printed.
SelectionThe selected pages are printed.
SomePagesThe pages between Drawing.Printing.PrinterSettings.FromPage and Drawing.Printing.PrinterSettings.ToPage are printed.
CurrentPageThe currently displayed page is printed

AllPages

public static final int AllPages

All pages are printed.

Selection

public static final int Selection

The selected pages are printed.

SomePages

public static final int SomePages

The pages between Drawing.Printing.PrinterSettings.FromPage and Drawing.Printing.PrinterSettings.ToPage are printed.

CurrentPage

public static final int CurrentPage

The currently displayed page is printed