Share via


TextEffectFormat.FontName Property (Word)

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

Syntax

expression .FontName

expression A variable that represents a TextEffectFormat object.

Example

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

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

See Also

Concepts

TextEffectFormat Object

TextEffectFormat Object Members