DropCap Object (Publisher)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a dropped capital letter at the beginning of a paragraph.

Use the DropCap property to return a DropCap object. The following example sets a dropped capital letter for the first letter of each paragraph in the first shape on the first page of the active publication. This example assumes that the specified shape is a text box and not another type of shape.

Sub ApplyDropCap() 
 ActiveDocument.Pages(1).Shapes(1).TextFrame.TextRange _ 
 .DropCap.ApplyCustomDropCap Size:=3, Span:=3, Bold:=True 
End Sub
Show: