HasSelectionMarks Property

Microsoft Office Web Components Visual Basic

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

   ' Display selection marks for chart elements.
   Chartspace1.HasSelectionMarks = True

End Sub