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
Wiki Markup
{description}
{excerpt}Sets or returns a [ParagraphFormatting.Justification|ParagraphFormatting.Justification] object that represents the text justification for a paragraph.{excerpt}
{signature:C#}
 public Justification TextJustification{ get; set; }
{signature}{signature:vb.net}
Public Property TextJustification() As Justification
{signature}
{remarks}MS Word equivalent: Format menu > Paragraph... > Indents and Spacing tab > General section > Alignment:

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

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

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

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

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

{example}