Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

getComputedTextLength method

Returns the total sum of all advance values from rendering all characters within the given text element.

Scalable Vector Graphics: Text, Section 10.17.1Internet Explorer 9


 retVal = object.getComputedTextLength();


This method has no parameters.

Standards information


The return value of the ISVGTextContentElement::getComputedTextLength method enables Windows Internet Explorer to make reasonable assumptions about the glyph metrics for non-rendering processes.

The total text advance distance includes the advance values on the glyphs (horizontal or vertical), kerning effects, letter-spacing effects, word-spacing effects, and adjustments because of the ISVGTextPositioningElement::dx and ISVGTextPositioningElement::dy attributes on SVGTSpanElement elements.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.