textAnchor property

Aligns a string of text relative to the specified point.

This property is read/write.

 

Syntax

HRESULT put_textAnchor(
  [in]  DOMString val
);

HRESULT get_textAnchor(
  [out] DOMString **ptr
);

Property values

Type: DOMString

String format

start | middle | end | inherit

CSS information

Applies To text content elements
Media visual
Inherited 1
Initial Value start

Standards information

Remarks

Each text element has an initial current text position, defined as a point in the user coordinate system.

Requirements

IDL

Mshtml.idl

See also

SVGTextElement

SVGTextPathElement

SVGTextPositioningElement

SVGTSpanElement