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 ParagraphFormatting object based on the paragraph formatting used by the BodyText style. You can then change the properties of this font and use it elsewhere.

Signature
C#
C#
 public ParagraphFormatting CreateParagraphFormatting()
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function CreateParagraphFormatting() As ParagraphFormatting
{signature}
{returns}A {{ParagraphFormatting}} object based on the paragraph formatting used by the BodyText style.{returns}
{example}{code:csharp|title=C#}
Returns

A ParagraphFormatting object based on the paragraph formatting used by the BodyText style.

Example
Code Block
csharp
csharp
titleC#

ParagraphFormatting oParagraphFormatting = oDocument.CreateParagraphFormatting();
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim oParagraphFormatting As ParagraphFormatting = oDocument.CreateParagraphFormatting()
{code} {example}