Compartilhar via


DropCap.FontName Property

Word Developer Reference

Returns or sets a String that represents the name of the font for the dropped capital letter. Read/write.

Syntax

expression.FontName

expression   A variable that represents a DropCap object.

Example

This example sets Arial as the font for the dropped capital letter for the first paragraph in the active document.

Visual Basic for Applications
  With ActiveDocument.Paragraphs(1).DropCap
    .FontName = "Arial"
    .Position = wdDropNormal
    .LinesToDrop = 3
    .DistanceFromText = InchesToPoints(0.1)
End With

See Also