Partager via


BulletFormat.UseTextColor Property

Determines whether the specified bullets are set to the color 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 UseTextColor As MsoTriState
    Get
    Set
'Usage
Dim instance As BulletFormat
Dim value As MsoTriState

value = instance.UseTextColor

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

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

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

The value of the UseTextColor property can be one of the following MsoTriState constants:

Constant

Description

msoFalse

The specified bullets are set to any other color.

msoTrue

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

See Also

Reference

BulletFormat Interface

BulletFormat Members

Microsoft.Office.Interop.PowerPoint Namespace