Expand Minimize

getNumberOfChars method

Gets the total number of characters that are available for rendering within the current element.

Scalable Vector Graphics: Text, Section 10.17.1Internet Explorer 9

Syntax


 retVal = object.getNumberOfChars();

Parameters

This method has no parameters.

Standards information

Remarks

The total number of characters includes referenced characters from tref reference, regardless of whether they are rendered.

The total number of characters is effectively equivalent to the length of the textContent attribute from the DOM Level 3 Core specification (section 1.4), if that attribute also expands tref elements.

See also

SVGTextElement
SVGTextPathElement
SVGTextPositioningElement
SVGTSpanElement
ISVGTextContentElement

 

 

Show:
© 2014 Microsoft