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
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: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#}

          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}