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. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈