PageRange PageRange PageRange PageRange Struct

Definition

Specifies a range of pages.

public value class PageRange
public struct PageRange
type PageRange = struct
Public Structure PageRange
Inheritance

Remarks

PageRange defines a range of pages that should be processed in an operation such as printing.

Constructors

PageRange(Int32) PageRange(Int32) PageRange(Int32) PageRange(Int32)

Initializes a new instance of the PageRange class that includes only the single specified page.

PageRange(Int32, Int32) PageRange(Int32, Int32) PageRange(Int32, Int32) PageRange(Int32, Int32)

Initializes a new instance of the PageRange class with the specified first and last pages.

Properties

PageFrom PageFrom PageFrom PageFrom

Gets or sets the page number of the first page in the range.

PageTo PageTo PageTo PageTo

Gets or sets the page number of the last page in the range.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Tests whether an object of unknown type is equal to this PageRange.

Equals(PageRange) Equals(PageRange) Equals(PageRange) Equals(PageRange)

Tests whether a PageRange is equal to this PageRange.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets the hash code value for the PageRange.

ToString() ToString() ToString() ToString()

Gets a string representation of the range.

Operators

Equality(PageRange, PageRange) Equality(PageRange, PageRange) Equality(PageRange, PageRange) Equality(PageRange, PageRange)

Defines the "==" operator for testing whether two specified PageRange objects are equal.

Inequality(PageRange, PageRange) Inequality(PageRange, PageRange) Inequality(PageRange, PageRange) Inequality(PageRange, PageRange)

Defines the "!=" operator for testing whether two specified PageRange objects are not equal.

Applies to