![]() |
![]() |
StructAlignProperties.RightIndent
Property RightIndent As Double
Member of StructAlignProperties
The RightIndent property returns or sets the indent for the left side of a paragraph. This value is measured in document units.
The following code example indents the first line of the second paragraph of the selected paragraph by 1 inch. It also indents the left and right margins of the selected paragraph by 0.5 inch.
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
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.