Muokkaa

Jaa


PageRange Struct

Definition

Specifies a range of pages.

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

Remarks

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

Constructors

PageRange(Int32, Int32)

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

PageRange(Int32)

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

Properties

PageFrom

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

PageTo

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

Methods

Equals(Object)

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

Equals(PageRange)

Tests whether a PageRange is equal to this PageRange.

GetHashCode()

Gets the hash code value for the PageRange.

ToString()

Gets a string representation of the range.

Operators

Equality(PageRange, PageRange)

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

Inequality(PageRange, PageRange)

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

Applies to