Description
Sets or returns a boolean that represents if a character run is italicized.
C#
public boolean Italic{ get; set; }
vb.net
Public Property Italic() As Boolean
Remarks
MS Word equivalent: Format menu > Font... > Font tab > Font section > Font style: > Italic (or Bold Italic if Bold = true)Examples
C#
//--- Return Italic
bool italic = oFont.Italic;
//--- Set Italic
oFont.Italic = true;
vb.net
'--- Return Italic
Dim italic As Boolean = oFont.Italic
'--- Set Italic
oFont.Italic = True
