[]
        
(Showing Draft Content)

C1.WPF.Document.OutputRange.-ctor

OutputRange Constructor

OutputRange(int, int, bool)

Creates an instance of OutputRange that includes a single interval of pages.

Declaration
public OutputRange(int fromPage, int toPage, bool inverted)
Parameters
Type Name Description
int fromPage

The number of the first page to include (1-based).

int toPage

The number of the last page to include (1-based).

bool inverted

Indicates whether the range should be inverted, see Inverted for details.

OutputRange(int, int)

Creates an instance of OutputRange that includes a single interval of pages. FromPage may be greater than ToPage, in that case the range is inverted.

Declaration
public OutputRange(int fromPage, int toPage)
Parameters
Type Name Description
int fromPage

The number of the first page to include (1-based).

int toPage

The number of the last page to include (1-based).

OutputRange(int[])

Creates an instance of OutputRange that includes all pages with numbers specified in the list.

Declaration
public OutputRange(int[] pageNumbers)
Parameters
Type Name Description
int[] pageNumbers

The array of page numbers to include.

OutputRange(string)

Creates an instance of OutputRange that includes pages specified by the string parameter. The string may contain:

  • page numbers (1-based) separated by spaces or commas;
  • dashes ('-') to specify intervals (a dash at the end implies infinity).
Declaration
public OutputRange(string pages)
Parameters
Type Name Description
string pages

The pages to be included.

OutputRange(int[], bool)

Creates an instance of OutputRange that includes all pages with numbers specified in the list.

Declaration
public OutputRange(int[] pageNumbers, bool inverted)
Parameters
Type Name Description
int[] pageNumbers

The array of page numbers to include.

bool inverted

Indicates whether the range should be inverted, see Inverted for details.

OutputRange(string, bool)

Creates an instance of OutputRange that includes pages specified by the string parameter. The string may contain:

  • page numbers (1-based) separated by spaces or commas;
  • dashes ('-') to specify intervals (a dash at the end implies infinity).
Declaration
public OutputRange(string pages, bool inverted)
Parameters
Type Name Description
string pages

The pages to be included.

bool inverted

Indicates whether the range should be inverted, see Inverted for details.