Class IntRange
Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)
Class for representing sequence of elements
public class IntRange
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
IntRange(int, int)
Initializes a new instance of the Aspose.Imaging.IntRange class.
public IntRange(int start, int count)
Parameters
start
int
The start.
count
int
The count.
IntRange(int, int, int)
Initializes a new instance of the Aspose.Imaging.IntRange class.
public IntRange(int start, int count, int delta)
Parameters
start
int
The start.
count
int
The count.
delta
int
The delta.
IntRange(int[])
Initializes a new instance of the Aspose.Imaging.IntRange class.
public IntRange(int[] range)
Parameters
range
int[]
The range.
Properties
Range
Gets or sets the range.
public int[] Range { get; set; }
Property Value
int[]
Methods
GetArrayOneItemFromIndex(int)
Returns one item array from specified index
public int[] GetArrayOneItemFromIndex(int index)
Parameters
index
int
The range index.
Returns
int[]
The array of System.String
Exceptions
Index is out of range
GetRange(int, int, int)
Gets the count range of int elements starting at start
public static IEnumerable<int> GetRange(int start, int count, int delta)
Parameters
start
int
The start.
count
int
The count.
delta
int
The delta.
Returns
IEnumerable<int>
Array of items
Exceptions
Count can not be lover than 1 or {D255958A-8513-4226-94B9-080D98F904A1}Start page can not be lover than 0