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
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:vb.net}
Public Function CreateFont() As Font
{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}