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 bolded.

Signature
C#
C#
 public boolean Bold{ get; set; }
Signature
vb.net
vb.net
Public Property Bold() As Boolean
Remarks

MS Word equivalent: Format menu > Font... > Font tab > Font section > Font style: > Bold (or Bold Italic if Italic = true)

Example
Code Block
csharp
csharp
titleC#

          //--- Return Bold
          bool bold = oFont.Bold;

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

          '--- Return Bold
          Dim bold As Boolean = oFont.Bold

          '--- Set Bold
          oFont.Bold = True