Method GetRanges
GetRanges(IList<IRange>)
Fills list specified by Ranges parameter with all existing ranges.
public int GetRanges(IList<IRange> ranges)
Parameters
Returns
- int
Number of elements in the ranges collection.
GetRanges()
Returns ranges collection in the from of IList.
public IList<IRange> GetRanges()
Returns
GetRanges(IList<IRange>, Point, Point)
Fills list specified by Ranges parameter with all ranges within specified range.
public int GetRanges(IList<IRange> ranges, Point startpoint, Point endpoint)
Parameters
ranges
IList<IRange>Specifies list to fill.
startpoint
PointSpecifies start position in text coordinates.
endpoint
PointSpecifies end position in text coordinates.
Returns
- int
Number of elements in the ranges collection.
GetRanges(IList<IRange>, Point)
Fills list specified by Ranges parameter with all ranges containing specific position.
public int GetRanges(IList<IRange> ranges, Point point)
Parameters
Returns
- int
Number of elements in the ranges collection.
GetRanges(IList<IRange>, int)
public int GetRanges(IList<IRange> ranges, int index)