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 bolded.{excerpt}
{signature:C#}
 public boolean Bold{ get; set; }
{signature}{signature:vb.net}
Public Property Bold() As Boolean
{signature}
{remarks}MS Word equivalent: Format menu > Font... > Font tab > Font section > Font style: > Bold \(or Bold Italic if Italic = true\)

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

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

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

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

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

{example}