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

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

Signature
C#
C#
 public void SetIndent(int twips, IndentLocation location)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Sub SetIndent(ByVal twips As Integer, ByVal location As IndentLocation)
{signature}
{parameters}
{param:indentSize}An {{int}} representing the size in twips by which to indent.{param}
{param:indentLocation}A [ParagraphFormatting.IndentLocation|ParagraphFormatting.IndentLocation] representing the indent location for which to set the indent.{param}
{example}{code:csharp|title=C#}
Parameters
Param
indentSize
indentSize

An int representing the size in twips by which to indent.

Param
indentLocation
indentLocation

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

Example
Code Block
csharp
csharp
titleC#

oParagraphFormatting.SetIndent(8, ParagraphFormatting.IndentLocation.FirstLine);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

oParagraphFormatting.SetIndent(8, ParagraphFormatting.IndentLocation.FirstLine)
{code} {example}