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

TextEffectFormat.FontBold Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines whether the font in the specified WordArt is bold. Read/write.

Syntax

expression. FontBold

expression A variable that represents a TextEffectFormat object.

Return Value

MsoTriState

Remarks

The value of the FontBold property can be one of these MsoTriState constants.

ConstantDescription
msoFalseThe font in the specified WordArt is not bold.
msoTrueThe font in the specified WordArt is bold.

Example

This example sets the font to bold for shape three on myDocument if the shape is WordArt.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(3)

    If .Type = msoTextEffect Then

        .TextEffect.FontBold = msoTrue

    End If

End With

See also

Concepts

TextEffectFormat Object

© 2018 Microsoft