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

Signature
C#
C#
 public int GetIndent(IndentLocation location)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function GetIndent(ByVal location As IndentLocation) As Integer
{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#}
Parameters
Param
indentLocation
indentLocation

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.

Example
Code Block
csharp
csharp
titleC#


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


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