API Documentation > CorelDRAW > 2025-v26 > StructAlignProperties > IVGStructAlignProperties
StructAlignProperties.LeftIndent property
Syntax:
Property Get LeftIndent() As Double
Property Let LeftIndent(ByVal Value As Double)
Remarks:
The LeftIndent 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