[]
Gets a bounding Region for a range of characters. The region is relative to the top left corner of the fragment's inner area.
public Region GetCharRangeRegion(int startCharIndex, int length)
Type | Name | Description |
---|---|---|
int | startCharIndex | The index of the first character in the range in the current fragment. |
int | length | The number of characters in the range. |
Type | Description |
---|---|
Region | The bounding region for the specified range, or null if the range is invalid. |