AutoSize (Property)

Applies To:

Legend object

Description:

Automatically resizes chart legend borders.

Action:

Read-write, Boolean

Example:

This example shows how to enable legend autosizing:

ActiveDocument.Sections["BooksChart"].Legend.AutoSize = true