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 an int representing the indent of the paragraph in twips.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns an {{int}} representing the indent of the paragraph in twips.{excerpt}
{signature:C#}
 public int GetIndent(IndentLocation location)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function GetIndent(ByVal location As IndentLocation) As Integer
Parameters

...

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

Returns

An int that represents the indent of the paragraph in twips.

{signature}
{parameters}
{param:indentLocation}A [ParagraphFormatting.IndentLocation|ParagraphFormatting.IndentLocation] representing the indent location for which to get the indent.{param}
{returns}An {{int}} that represents the indent of the paragraph in twips.{returns}
{example}{code:csharp|title=C#}

          int indent = oParagraphFormatting.GetIndent(
               ParagraphFormatting.IndentLocation.FirstLine);
        
{code}
{code:vb.net
|title=vb.net
}

          Dim indent As Integer = oParagraphFormatting.GetIndent( _
               ParagraphFormatting.IndentLocation.FirstLine)
        {code}

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