Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Sets or returns an int that represents the left indent for a table created with this formatting in twips. One twip = (1/20

pt

\

)

or

\

(1/1440

in

\

).

{excerpt} {signature:C#}

Signature
C#
C#
public int LeftIndent{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property LeftIndent() As Integer
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#
          
//--- Return LeftIndent
          int leftIndent = oTableFormatting.LeftIndent;

          //--- Set LeftIndent to 1 inch
          oTableFormatting.LeftIndent = 1440;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return LeftIndent
          Dim leftIndent As Integer = oTableFormatting.LeftIndent

          '--- Set LeftIndent to 1 inch
          oTableFormatting.LeftIndent = 1440
        
{code} {example}