Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns a boolean that represents if a character run is italicized.

Signature
C#
C#
 public boolean Italic{ get; set; }
Signature
vb.net
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)

Example
Code Block
csharp
csharp
titleC#

          //--- Return Italic
          bool italic = oFont.Italic;

          //--- Set Italic
          oFont.Italic = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return Italic
          Dim italic As Boolean = oFont.Italic

          '--- Set Italic
          oFont.Italic = True