GetCharRangeRegion Method (RenderTextFragment)
Gets a bounding
System.Drawing.Region for a range of characters. The region is relative to the top left corner of the fragment's inner area.
'Declaration
Public Function GetCharRangeRegion( _
ByVal As Integer, _
ByVal As Integer _
) As Region
Parameters
- startCharIndex
- The index of the first character in the range in the current fragment.
- length
- The number of characters in the range.
Return Value
The bounding region for the specified range, or null if the range is invalid.