Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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



{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}
Signature
C#C#
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}{signature:vb.net
vb.net
}
Public Property TextJustification() As Justification
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Format menu > Paragraph... > Indents and Spacing tab > General section > Alignment:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle