Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Sets or returns a ParagraphFormatting.Justification object that represents the text justification for a paragraph.

Signature
C#
C#
 public Justification TextJustification{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property TextJustification() As Justification
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Format

menu

>

Paragraph...

>

Indents

and

Spacing

tab

>

General

section

>

Alignment:

{remarks} {example}{code:csharp|title=C#}

Example
Code Block
csharp
csharp
titleC#


          //--- Return Justification
          ParagraphFormatting.Justification oJustification =
               oParagraphFormatting.TextJustification;

          //--- Set Justification to Right
          oParagraphFormatting.TextJustification =
               ParagraphFormatting.Justification.Right;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return Justification
          Dim oJustification As ParagraphFormatting.Justification = _
               oParagraphFormatting.TextJustificaiton

          '--- Set Justification
          oParagraphFormatting.TextJustification = _
               ParagraphFormatting.Justification.Right
        
{code} {example}