Export (0) Print
Expand All

getExtentOfChar method

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.

Scalable Vector Graphics: Text, Section 10.17.1Internet Explorer 9

 

Syntax


ISVGRect retVal = object.getExtentOfChar(charnum);

Parameters

charnum [in]

Type: long

The index of the character, where the first character has an index of 0.

Standards information

Remarks

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.

See also

SVGTextContentElement

 

 

Community Additions

ADD
Show:
© 2014 Microsoft