Page tree

Versions Compared

Key

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

Excerpt

Returns a Font object based on the font used by the Normal Style. You can then change the properties of this font and use it elsewhere.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns a [Font|Font] object based on the font used by the Normal Style. You can then change the properties of this font and use it elsewhere.{excerpt}
{signature:C#}
 public Font CreateFont()
Signature
{signature}{signature:vb.net
vb.net
}
Public Function CreateFont() As Font
Returns

A Font object based on the font used by the Normal Style.

{signature}
{returns}A {{Font}} object based on the font used by the Normal Style.{returns}
{example}{code:csharp|title=C#}
Font oFont = oDocument.CreateFont();
{code}
{code:vb.net
|title=vb.net
}
Dim oFont As Font = oDocument.CreateFont(){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle