Gets how to align the last line or only line of text in the object.
HRESULT IHTMLCurrentStyle2::get_textAlignLast(BSTR *p);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
auto Default. Text is aligned like the other lines in the object, using the value of the IHTMLStyle::textAlign property. center Text is centered. inherit Text is aligned like the text in the parent object. justify Text is justified. left Text is aligned to the left. right Text is aligned to the right.
Returns S_OK if successful, or an error value otherwise.
Windows Internet Explorer 8. The -ms-text-align-last attribute is an extension to CSS, and can be used as a synonym for text-align-last in IE8 Standards mode.
The property is read-only for the IHTMLCurrentStyle2 interface .
The property applies to block elements.