Table of Contents

Method GetOutlineRanges

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

GetOutlineRanges(IList<IRange>, int)

Fills list specified by ranges parameter with all outline sections containing specific line.

public virtual int GetOutlineRanges(IList<IRange> ranges, int index)

Parameters

ranges IList<IRange>

Specifies list to fill.

index int

Specifies index of line in text coordinates.

Returns

int

Number of elements in the ranges collection.

GetOutlineRanges(IList<IRange>, Point)

Fills list specified by ranges parameter with all outline sections containing specific position.

public virtual int GetOutlineRanges(IList<IRange> ranges, Point position)

Parameters

ranges IList<IRange>

Specifies list to fill.

position Point

Specifies position in the text.

Returns

int

Number of elements in the ranges collection.

GetOutlineRanges(IList<IRange>, Point, Point)

Fills list specified by ranges parameter with all outline sections containing specific range.

public virtual int GetOutlineRanges(IList<IRange> ranges, Point startPoint, Point endPoint)

Parameters

ranges IList<IRange>

Specifies list to fill.

startPoint Point

Specifies start position in the text.

endPoint Point

Specifies end position in the text.

Returns

int

Number of elements in the ranges collection.

GetOutlineRanges(IList<IRange>)

Fills list specified by ranges parameter with all existing outline sections.

public virtual int GetOutlineRanges(IList<IRange> ranges)

Parameters

ranges IList<IRange>

Specifies list to fill.

Returns

int

Number of elements in the ranges collection.