ISVGTextContentElement interface
TBD.
Members
The ISVGTextContentElement interface inherits from the IUnknown interface. ISVGTextContentElement also has these types of members:
- Methods
- Properties
Methods
The ISVGTextContentElement interface has these methods.
| Method | Description |
|---|---|
| getCharNumAtPosition | Gets the index of the character that the glyph cell bounding box contains at the specified point. |
| getComputedTextLength | Returns the total sum of all advance values from rendering all characters within the given text element. |
| getEndPositionOfChar | 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. |
| getExtentOfChar | 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. |
| getNumberOfChars | Gets the total number of characters that are available for rendering within the current element. |
| getRotationOfChar | Gets the rotation value of the specified character, relative to the current user coordinate system where the glyphs that corresponding to the specified character are rendered. |
| getStartPositionOfChar | Gets the current text position of the specified character before the character is rendered in the user coordinate system where the glyphs that correspond to the specified character are rendered. |
| getSubStringLength | Calculates the total sum of all advance values from rendering the specified substring of the characters. |
| selectSubString | Selects the specified substring, just as if a user selected the substring interactively. |
Properties
The ISVGTextContentElement interface has these properties.
| Property | Description |
|---|---|
Gets or sets the lengthAdjust attribute on the given element. |
|
Gets or sets the textLength attribute on the given element. |
Send comments about this topic to Microsoft
Build date: 1/26/2012