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
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} that represents if a character run is italicized.{excerpt}
{signature:C#}
 public boolean Italic{ get; set; }
{signature}{signature:vb.net}
Public Property Italic() As Boolean
{signature}
{remarks}MS Word equivalent: Format menu > Font... > Font tab > Font section > Font style: > Italic \(or Bold Italic if Bold = true\)

{remarks}
{example}{code:csharp|title=C#}

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

          //--- Set Italic
          oFont.Italic = true;
        {code}
{code:vb.net|title=vb.net}

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

          '--- Set Italic
          oFont.Italic = True
        {code}

{example}