getEndPositionOfChar method

[This documentation is preliminary and is subject to change.]

Gets the current text position of the specified character after the character is rendered 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

ISVGPoint retVal = object.getEndPositionOfChar(charnum);

Standards information

Parameters

  • charnum [in]
    Type: long

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

Remarks

The character's current text position does not consider the effects of any inter-character adjustments to prepare for the next character, such as kerning, letter spacing, word spacing, and adjustments because of the x, y, dx, and dy attributes. 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 end position for the last glyph.

See also

SVGTextContentElement

 

 

Build date: 1/26/2012