Export (0) Print
Expand All
top
Expand Minimize
This topic has not yet been rated - Rate this topic

textAlignLast property

Gets or sets a value that indicates how to align the last line or only line of text in the specified object.

CSS Text Level 3, Section 8.1

Syntax

HRESULT value = object.put_textAlignLast( v);HRESULT value = object.get_textAlignLast(* p);

Property values

Type: BSTR

auto (auto)

Default. Text is aligned like the other lines in the object, using the value of the IHTMLCSSStyleDeclaration::textAlign property.

center (center)

Text is centered.

inherit (inherit)

Text is aligned like the text in the parent object.

justify (justify)

Text is justified.

left (left)

Text is aligned to the left.

right (right)

Text is aligned to the right.

String format

auto | center | inherit | justify | left | right

CSS information

Applies Toblock containers
Mediavisual
Inheritedtrue
Initial Valueauto

Standards information

Remarks

Windows Internet Explorer 8. The property is an extension to Cascading Style Sheets (CSS), and can be used as a synonym for the property in IE8 Standards mode and higher.

The IHTMLCSSStyleDeclaration::textAlignLast property is read-only for the IHTMLCurrentStyle2 interface.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.