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 an float that represents the font size for a character run. The font size will always be a multiple of 0.5.



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

          //--- Return FontSize
          float fontSize = oFont.FontSize;

          //--- Set FontSize to 16 points
          oFont.FontSize = 16.0;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return FontSize
          Dim fontSize As Float = oFont.FontSize

          '--- Set FontSize to 16 points
          oFont.FontSize = 16.0
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns an {{float}} that represents the font size for a character run. The font size will always be a multiple of 0.5.{excerpt}
{signature:C#}
 public double FontSize{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property FontSize() As Double
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Format menu > Font... > Font tab > Size:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle