Method GetOutlineRanges
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
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
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
PointStart position in text coordinates.
endPoint
PointEnd 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
Returns
- int
Count of outline sections in Ranges.
Remarks
If AllowOutlining
property is false the method clears the Ranges collection and returns zero.