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 line in text coordinates.

Returns

int

Count of outline sections in Ranges.

Remarks

If AllowOutlining property is false the method clears the Ranges collection and returns zero.

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 text coordinates.

Returns

int

Count of outline sections in Ranges.

Remarks

If AllowOutlining property is false the method clears the Ranges collection and returns zero.

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

Start position in text coordinates.

endPoint Point

End position in text coordinates.

Returns

int

Count of outline sections in Ranges.

Remarks

If AllowOutlining property is false the method clears the Ranges collection and returns zero.

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

Count of outline sections in Ranges.

Remarks

If AllowOutlining property is false the method clears the Ranges collection and returns zero.