Position Property

Applies To

CaptionLabel object, DropCap object, Font object, TabStop object.

Description

CaptionLabel object: Returns or sets the position of caption label text. Can be either of the following WdCaptionPosition constants: wdCaptionPositionAbove or wdCaptionPositionBelow. Read/write Long.

DropCap object: Returns or sets the position of a dropped capital letter. Can be one of the following WdDropPosition constants: wdDropMargin, wdDropNone, or wdDropNormal. Read/write Long.

Font object: Returns or sets the position of text (in points) relative to the base line. A positive number raises the text, and a negative number lowers it. Read/write Long.

TabStop object: Returns or sets the position of a tab stop relative to the left margin. Read/write Single.

See Also

DistanceFromText property, DropCap property, Font property.

Example

This example lowers the selected text by 2 points.

Selection.Font.Position = -2
This example adds a right tab stop to the selected paragraphs 2 inches from the left margin. The position of the tab stop is then displayed in a message box.

With Selection.Paragraphs.TabStops
    .ClearAll
    .Add Position:=InchesToPoints(2), Alignment:=wdAlignTabRight
    MsgBox .Item(1).Position & " or " & _
        PointsToInches(.Item(1).Position) & " inches"
End With
This example sets the first paragraph in the active document to begin with a dropped capital letter. The position of the DropCap object is set to wdDropNormal.

With ActiveDocument.Paragraphs(1).DropCap
    .Enable
    .FontName= "Arial"
    .Position = wdDropNormal
End With