HasSelectionMarks Property

Microsoft Office Web Components Object Model

HasSelectionMarks Property

       

Set this property to True to display selection marks when the user selects an item on a chart. The default value is False. Read/write Boolean.

expression.HasSelectionMarks

expression   Required. An expression that returns a ChartSpace object.

Remarks

In addition to setting this property to True, you must also set the AllowPropertyToolbox property to True to allow the user to format individual chart elements.

Example

This example enables the user to select and format individual chart elements in Chartspace1.

Sub Allow_Formatting()

   'Allow the user to display the Commands and Options dialog box.
   Chartspace1.AllowPropertyToolbox = True

   ' Allow the user to select individual chart elements.
   Chartspace1.HasSelectionMarks = True

End Sub