Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

Description

Sets or returns a String that represents the name of the font used in this formatting.
C#
public System.String FontName{ get; set; }
vb.net
Public Property FontName() As String

Remarks

MS Word equivalent: Format menu > Font... > Font tab > Font:

Examples

C#
//--- Return FontName
string fontName = oFont.FontName;
 
//--- Set Fontname
oFont.FontName = "Arial";
vb.net
'--- Return FontName
Dim fontName As String = oFont.FontName
 
'--- Set FontName
oFont.FontName = "Arial"
  • No labels