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 the font for the CharacterRun.

Signature
C#
C#
 public Font Font{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Font() As Font
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#


          //--- Get Font
          Font fnt = charRun.Font;

          //--- Set Font
          charRun.Font = fnt
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Get Font
          Dim oFont As Font = charRun.Font

          '--- Set Font
          charRun.Font = fnt
        
{code} {example} {scrollbar}
Scrollbar