Description
Sets or returns a ParagraphFormatting.Justification object that represents the text justification for a paragraph.
C#
public Justification TextJustification{ get; set; }
vb.net
Public Property TextJustification() As Justification
Remarks
MS Word equivalent: Format menu > Paragraph... > Indents and Spacing tab > General section > Alignment:Examples
C#
//--- Return Justification
ParagraphFormatting.Justification oJustification =
oParagraphFormatting.TextJustification;
//--- Set Justification to Right
oParagraphFormatting.TextJustification =
ParagraphFormatting.Justification.Right;
vb.net
'--- Return Justification
Dim oJustification As ParagraphFormatting.Justification = _
oParagraphFormatting.TextJustificaiton
'--- Set Justification
oParagraphFormatting.TextJustification = _
ParagraphFormatting.Justification.Right
