w:iCs (Italic — Complex Script)
Applies italic formatting to complex-script (right-to-left and other bidirectional) text in a run.
Parent elements
Description
w:iCs is a toggle property that applies italic formatting to complex-script characters in a run. It is the complex-script counterpart of w:i, which controls italic for Latin and East Asian text.
It is defined in ECMA-376 Part 1 §17.3.2.16.
Attributes
| Attribute | Type | Possible Values | Description |
|---|---|---|---|
w:val |
ST_OnOff |
true, false, 1, 0, on, off |
Enables italic for complex-script characters. Omit to inherit. |
Examples
<w:r>
<w:rPr>
<w:iCs/>
<w:rtl/>
</w:rPr>
<w:t>نص عربي مائل</w:t>
</w:r>
using DocumentFormat.OpenXml.Wordprocessing;
var run = new Run(
new RunProperties(
new ItalicComplexScript(),
new RightToLeftText()
),
new Text("نص عربي مائل")
);
Notes
- Use
w:ifor Latin/East Asian italic,w:iCsfor complex-script italic. - The complex-script font used for italics is specified in
w:rFonts w:cs.