Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using the Font class, you can apply text formatting to a CharacterRun or HTMLToWord object. To return a Font object use:

Code Block
Document.CreateFont

Returns a Font object that represents the font used by the document's Normal style.

Or

Code Block
NamedStyle.Font

Returns a copy of the specified named style's font.

To define a font and apply it to a paragraph, first create a Font object:

...