API Documentation > CorelDRAW > 2025-v26 > StructAlignProperties > IVGStructAlignProperties
StructAlignProperties.FirstLineIndent property
Syntax:
Property Get FirstLineIndent() As Double
Property Let FirstLineIndent(ByVal Value As Double)
Remarks:
The FirstLineIndent property returns or specifies the indentation of the first line text in 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