The PieColorForText property returns or sets the Use pie color for text option on a pie map. Returns a Boolean.
Syntax
object.PieColorForText
object.PieColorForText = PieColorForText
Parameter |
Type |
Description |
PieColorForText |
Boolean |
required; true to use the pie slice color as the label color |
Example 1
This example returns the state of using the pie color for the pie text.
Debug.Print PieMap.PieColorForText
Example 2
This example makes the pie map text the same color as the corresponding pie slice.
PieMap.PieColorForText = True
Used by: PieMap object