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
vb.net
vb.net

Public Property Justification() As Justification
Example
Code Block
csharp
csharp
titleC#
            //--- Return Justification
          ParagraphFormatting.Justification oJustification =
               oTableFormatting.Justification;

          //--- Set Justification
          oTableFormatting.Justification =
               ParagraphFormatting.Justification.Center;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return Justification
          Dim oJustification As ParagraphFormatting.Justification = _
               oTableFormatting.Justification

          '--- Set Justification
          oTableFormatting.Justification = _
               ParagraphFormatting.Justification.Center