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

textKashidaSpace property

Deprecated. Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.

CSS Text Level 3, Section 8.3

Syntax

HRESULT value = object.put_textKashidaSpace( v);HRESULT value = object.get_textKashidaSpace(* p);

Property values

Type: VARIANT

inherit (inherit)

Text is expanded like the text in the parent object.

String format

percentage

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value0%

Standards information

Remarks

This property is deprecated and is not supported in Windows Internet Explorer 8 and higher document compatibility modes. It is still available for use in Internet Explorer 8 and later when the page is in either IE5 (Quirks) mode or IE7 Standards mode. For more information about document compatibility modes, see Defining document compatibility.

Kashida is a typographic effect that justifies lines of text by elongating characters at carefully chosen points. It is used in Arabic writing systems.

Kashida justification increases the length of a line by elongating cursive (Arabic) characters at certain points. The semantics of text-kashida and IHTMLStyle3::textKashidaSpace are opposite each other: "text-kashida:100%" is nearly equivalent to "text-kashida-space:0%".

For the IHTMLStyle3::textKashidaSpace property to have any effect, you must also set the IHTMLRuleStyle::textAlign property to "justify". (Setting IHTMLRuleStyle2::textJustify property to "kashida" is not required.)

The IHTMLStyle3::textKashidaSpace property is read-only for the IHTMLCurrentStyle2 interface (C++) and currentStyle object (script).

The IHTMLStyle3::textKashidaSpace property applies to block elements only.

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.