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}{signature:
}
Signature
vb.net
vb.net
Public Property Italic() As Boolean
{signature}
{remarks}MS Word 
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#}

)

Example
Code Block
csharp
csharp
titleC#


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

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


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

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