ListLevel.TextPosition property (Word)

Returns or sets the position (in points) for the second line of wrapping text for the specified ListLevel object. Read/write Single.

Syntax

expression. TextPosition

expression An expression that returns a 'ListLevel' object.

Example

This example sets the indentation for all levels of the first outline-numbered list template. Each list level number is indented 0.5 inch (36 points) from the previous level, the tab is set at 0.25 inch (18 points) from the number, and wrapping text is indented 0.25 inch (18 points) from the number.

r = 0 
For Each lev In ListGalleries(wdOutlineNumberGallery) _ 
 .ListTemplates(1).ListLevels 
 lev.Alignment = wdListLevelAlignLeft 
 lev.NumberPosition = r 
 lev.TrailingCharacter = wdTrailingTab 
 lev.TabPosition = r + 18 
 lev.TextPosition = r + 18 
 r = r + 36 
Next lev

See also

ListLevel Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.