Table of Contents

Class IntRange

Namespace
Aspose.Imaging
Assembly
Aspose.Imaging.dll

Class for representing sequence of elements

public class IntRange
Inheritance
IntRange
Inherited Members

Constructors

IntRange(int, int)

Initializes a new instance of the 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 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 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[]

The range.

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 string

Exceptions

ArgumentException

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

ArgumentException

Count can not be lover than 1 or {D255958A-8513-4226-94B9-080D98F904A1}Start page can not be lover than 0