Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets an int representing the indent of the paragraph in twips.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets an {{int}} representing the indent of the paragraph in twips.{excerpt}
{signature:C#}
 public void SetIndent(int twips, IndentLocation location)
Signature
{signature}{signature:vb.net
vb.net
}
Public Sub SetIndent(ByVal twips As Integer, ByVal location As IndentLocation)
Parameters
{signature}
{parameters}
{param:indentSize}An {{int}} representing the size in twips by which to indent.{param}
{param:indentLocation}A [ParagraphFormatting.IndentLocation|ParagraphFormatting.IndentLocation] representing the indent location for which to set the indent.{param}
{example}{code:csharp|title=C#}
oParagraphFormatting.SetIndent(8, ParagraphFormatting.IndentLocation.FirstLine);
{code}
{code:vb.net
|title=vb.net
}
oParagraphFormatting.SetIndent(8, ParagraphFormatting.IndentLocation.FirstLine){code}

{example}
Param
indentSizeindentSize

An int representing the size in twips by which to indent.

Param
indentLocationindentLocation

A ParagraphFormatting.IndentLocation representing the indent location for which to set the indent.

Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle