API Documentation > CorelDRAW > 2025-v26 > StructAlignProperties > IVGStructAlignProperties
StructAlignProperties.RightIndent property
Syntax:
Property Get RightIndent() As Double
Property Let RightIndent(ByVal Value As Double)
Remarks:
The RightIndent property returns or specifies the indentation for the left side of a paragraph. This value is measured in document units.
Examples:
The following VBA example indents the first line of the second paragraph of the selected paragraph by 1". It also indents the left and right margins of the selected paragraph by 0.5".
Sub Test()
If ActiveShape Is Nothing Then Exit Sub
  If ActiveShape.Type = cdrTextShape Then

 If ActiveShape.Text.Type = cdrParagraphText Then


With ActiveShape.Text.AlignPropertiesInRange(2, 1, cdrParagraphIndexing)


  .FirstLineIndent = 1


  .LeftIndent = 0.5


  .RightIndent = 0.5


End With

 End If
  End If

End Sub