Item (Object)

Member of:

Items collection

Description:

Represents a specific legend object.

This object attributes directly affect the display of an object in the legend of a Chart section.

Example:

This example shows how to add a diagonal brush style and the color red to the Books legend item:

ActiveDocument.Sections["Chart"].Legend.Items["Books"].Fill.BrushStyle = bqBrushStyleDiagCross
ActiveDocument.Sections["Chart"].Legend.Items["Books"].Fill.Color =  16711680

Properties:

Read-only: Name as String

Objects:

FillFormat, LineFormat