Italic class

Office 2013 and later

Defines the Italic Class. When the object is serialized out as xml, its qualified name is w:i.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Italic : OnOffType

[ISO/IEC 29500-1 1st Edition]

i (Italics)

This element specifies whether the italic property should be applied to all non-complex script characters in the contents of this run when displayed in a document.

This formatting property is a toggle property (§17.7.3).

If this element is not present, the default value is to leave the formatting applied at previous level in the style hierarchy .If this element is never applied in the style hierarchy, then italics shall not be applied to non-complex script characters.

[Example: Consider a run of text which must have the i property explicitly turned on for the non-complex script contents of the run. This constraint is specified using the following WordprocessingML:

  <w:i />

This run explicitly declares that the i property is true for the non-complex script contents of this run. end example]

Parent Elements

rPr (§; rPr (§; rPr (§; rPr (§17.9.25); rPr (§; rPr (§; rPr (§; rPr (§; rPr (§; rPr (§

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.