Gets a rectangle that defines the minimum and maximum x-coordinate and y-coordinate values in the user coordinate system where the glyphs that correspond to the specified character are rendered.
ISVGRect retVal = object.getExtentOfChar(charnum);
- charnum [in]
The index of the character, where the first character has an index of 0.
- Scalable Vector Graphics: Text, Section 10.17.1
The calculations for the rectangle assume that all glyphs occupy the full standard glyph cell for the font. If multiple consecutive characters are rendered inseparably (for example, as a single glyph or a sequence of glyphs), each of the inseparable characters returns the same rectangle.
Build date: 11/17/2013