Share via


BulletFormat.UseTextFont Property

Determines whether the specified bullets are set to the font of the first text character in the paragraph. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property UseTextFont As MsoTriState
    Get
    Set
'Usage
Dim instance As BulletFormat
Dim value As MsoTriState

value = instance.UseTextFont

instance.UseTextFont = value
MsoTriState UseTextFont { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState
MsoTriState

Remarks

You cannot explicitly set this property to msoFalse. Setting the bullet format font (by using the Name property of the Font object) sets this property to msoFalse. When UseTextFont is msoFalse, you can set it to msoTrue to reset the bullet format to the default font.

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

Constant

Description

msoFalse

The specified bullets are set to a custom font.

msoTrue

The specified bullets are set to the font of the first text character in the paragraph..

Examples

This example resets bullets in shape two on slide one in the active presentation to their default character, font, and color.

With ActivePresentation.Slides(1).Shapes(2)

    With .TextFrame.TextRange.ParagraphFormat.Bullet

        .RelativeSize = 1

        .UseTextColor = msoTrue

        .UseTextFont= msoTrue

        .Character = 8226

    End With

End With

See Also

Reference

BulletFormat Interface

BulletFormat Members

Microsoft.Office.Interop.PowerPoint Namespace