Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a String that represents the name of the font used in this formatting.



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

          //--- Return FontName
          string fontName = oFont.FontName;

          //--- Set Fontname
          oFont.FontName = "Arial";
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return FontName
          Dim fontName As String = oFont.FontName

          '--- Set FontName
          oFont.FontName = "Arial"
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{String}} that represents the name of the font used in this formatting.{excerpt}
{signature:C#}
 public System.String FontName{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property FontName() As String
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Format menu > Font... > Font tab > Font:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle