Skip to end of metadata
Go to start of metadata

Description

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

C#
 public int GetIndent(IndentLocation location)
vb.net
Public Function GetIndent(ByVal location As IndentLocation) As Integer

Parameters

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.

Examples

C#

          int indent = oParagraphFormatting.GetIndent(
               ParagraphFormatting.IndentLocation.FirstLine);
        
vb.net

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