Table of contents
Collapse the table of content
Expand the table of content

DropCap.FontBold Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Sets or returns an MsoTriStateconstant that represents whether the font for a dropped capital letter or WordArt text effect is bold. Read/write.


expression. FontBold

_expression_A variable that represents a DropCap object.


The FontBold property value can be one of the ** MsoTriState** constants declared in the Microsoft Office type library.


This example applies bold formatting to the dropped capital letter in the specified text frame. This example assumes that the specified text frame is formatted with a dropped capital letter.

Sub BoldDropCap() 
 With ActiveDocument.Pages(1).Shapes(1) _ 
 .FontBold = msoTrue 
 .FontColor.RGB = RGB(Red:=150, Green:=50, Blue:=180) 
 .FontItalic = msoTrue 
 .FontName = "Script MT Bold" 
 End With 
End Sub
© 2018 Microsoft