Share via


DropCap Object [Publisher 2003 VBA Language Reference]

TextRange
DropCap
ColorFormat

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

Using the DropCap Object

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

Properties | Application Property | FontBold Property | FontColor Property | FontItalic Property | FontName Property | LinesUp Property | Parent Property | Size Property | Span Property

Methods | ApplyCustomDropCap Method | Clear Method

Parent Objects | TextRange Object

Child Objects | ColorFormat Object