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#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public Justification Justification{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property Justification() As Justification</p>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