This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

getComputedTextLength

Notes

Remarks

The return value of the 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 dx and dy attributes on SVGTSpanElement elements.

Syntax

float retVal = object.getComputedTextLength();

Standards information

See also

Related pages

Attributions