PageRange Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
Initializes a new instance of the PageRange class that includes only the single specified page. |
PageRange(Int32, Int32) |
Initializes a new instance of the PageRange class with the specified first and last pages. |
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) | |
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. |