Control Reference > VSPrinter Control > VSPrinter Properties > IndentFirst Property |
Returns or sets an additional left indent for the first line of each paragraphs, in twips.
[form!]VSPrinter.IndentFirst[ = value As Variant ]
This property is mainly useful for creating hanging indents for bullet or numbered lists. To create hanging indents, set IndentFirst to a negative value (-x) and IndentTab to the same value, but positive (x). For example:
' set 1/4 inch hanging indent
.IndentLeft = "0.25in"
.IndentTab = .IndentLeft
.IndentFirst = -.IndentLeft
' create a list with 10 items
For i = 1 To 10
.Paragraph = i & "." & vbTab & "This is item " & i & ". " & s
Next
You may specify units with this value (inches, points, twips, cm, mm, or pixels). The default unit is twips. For details on using unit-aware measurements, see the Using Unit-Aware Properties topic.
For a diagram showing the effect of the Indent properties, see the IndentLeft property.
Variant