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
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#
 public Font CreateFont()
Signature
vb.net
vb.net
Public Function CreateFont() As Font
Returns

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

Example
Code Block
csharp
csharp
titleC#
Font oFont = oDocument.CreateFont();
Code Block
vb.net
vb.net
titlevb.net
Dim oFont As Font = oDocument.CreateFont()