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 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#
Wiki Markup
{description}
{excerpt}Returns a [ParagraphFormatting|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.{excerpt}
{signature:C#}
 public ParagraphFormatting CreateParagraphFormatting()
Signature
{signature}{signature:vb.net
vb.net
}
Public Function CreateParagraphFormatting() As ParagraphFormatting
Returns

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

{signature}
{returns}A {{ParagraphFormatting}} object based on the paragraph formatting used by the BodyText style.{returns}
{example}{code:csharp|title=C#}
ParagraphFormatting oParagraphFormatting = oDocument.CreateParagraphFormatting();
{code}
{code:vb.net
|title=vb.net
}
Dim oParagraphFormatting As ParagraphFormatting = oDocument.CreateParagraphFormatting(){code}

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