Struct PageRange
Specifies a range of pages.
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public struct PageRange
Constructors
PageRange(Int32)
Initializes a new instance of the System.
Declaration
public PageRange(int page)
Parameters
System. The page that is printed or processed. |
PageRange(Int32, Int32)
Initializes a new instance of the System.
Declaration
public PageRange(int pageFrom, int pageTo)
Parameters
System. The first page of the range. |
System. The last page of the range. |
Properties
PageFrom
Gets or sets the page number of the first page in the range.
Declaration
public int PageFrom { get; set; }
Property Value
System. The 1-based page number of the first page in the range. |
PageTo
Gets or sets the page number of the last page in the range.
Declaration
public int PageTo { get; set; }
Property Value
System. The 1-based page number of the last page in the range. |
Methods
Equals(Object)
Tests whether an object of unknown type is equal to this System.
Declaration
public override bool Equals(object obj)
Parameters
System. The object tested. |
Returns
System. true if the object is of type System. |
Overrides
Equals(PageRange)
Tests whether a System.
Declaration
public bool Equals(PageRange pageRange)
Parameters
Page The System. |
Returns
System. true if the two System. |
GetHashCode()
Gets the hash code value for the System.
Declaration
public override int GetHashCode()
Returns
System. The hash code value for the System. |
Overrides
ToString()
Gets a string representation of the range.
Declaration
public override string ToString()
Returns
System. A string that represents the range of pages in the format "System. |
Overrides
Operators
Equality(PageRange, PageRange)
Defines the "==" operator for testing whether two specified System.
Declaration
public static bool operator ==(PageRange pr1, PageRange pr2)
Parameters
Page The first System. |
Page The second System. |
Returns
System. true if the two System. |
Inequality(PageRange, PageRange)
Defines the "!=" operator for testing whether two specified System.
Declaration
public static bool operator !=(PageRange pr1, PageRange pr2)
Parameters
Page The first System. |
Page The second System. |
Returns
System. true if the two System. |