Table of Contents

Method GetOutlineRange

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

GetOutlineRange(Point)

Returns outline section representing text substituting outline section and level of outline nesting at the specific position. IOutlineRange

public virtual IOutlineRange GetOutlineRange(Point position)

Parameters

position Point

Specifies position in text coordinates.

Returns

IOutlineRange

IOutlineRange object that represents outline section, if AllowOutlining property is true; otherwise return null.

GetOutlineRange(int)

Returns outline section, which represents text substring outline section and level of outline nesting at the specific line. IOutlineRange

public virtual IOutlineRange GetOutlineRange(int index)

Parameters

index int

Index of the line in text coordinates.

Returns

IOutlineRange

IOutlineRange object that represents outline section, if AllowOutlining property is true; otherwise return null.