Compartilhar via


DropCap.DistanceFromText Property

Word Developer Reference

Returns or sets a Single that represents the distance (in points) between the dropped capital letter and the paragraph text. Read/write.

Syntax

expression.DistanceFromText

expression   A variable that represents a DropCap object.

Example

This example sets a dropped capital letter for the first paragraph in the active document. The offset for the dropped capital letter is then set to 12 points.

Visual Basic for Applications
  With ActiveDocument.Paragraphs(1).DropCap
    .Enable
    .FontName= "Arial"
    .Position = wdDropNormal
    .DistanceFromText = 12
End With

See Also