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
vb.net
vb.net
Public Function GetIndent(ByVal location As IndentLocation) As Integer
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 Block
vb.net
vb.net
titlevb.net

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