Page tree

Versions Compared

Key

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

...

Description

Excerpt

Sets or returns a ParagraphFormatting.Justification object that represents the justification for a table created with this formatting. Possible values: Left, Center, Right, LeftRight.

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

          //--- Set Justification
          oTableFormatting.Justification =
               ParagraphFormatting.Justification.Center;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return Justification
          Dim oJustification As ParagraphFormatting.Justification = _
               oTableFormatting.Justification

          '--- Set Justification
          oTableFormatting.Justification = _
               ParagraphFormatting.Justification.Center
        
{code} {example}