Excerpt |
---|
Returns an int representing the indent of the paragraph in twips. |
Signature |
---|
C# | C# | 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}{signature:vb.net | vb.net | }
Public Function GetIndent(ByVal location As IndentLocation) As Integer
|
...
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 |
title | C# |
---|
{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 Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
Dim indent As Integer = oParagraphFormatting.GetIndent( _
ParagraphFormatting.IndentLocation.FirstLine)
{code}
{example}