Share via


ChartSheet.HasLegend Property (2007 System)

Gets or sets a value that indicates whether the Microsoft.Office.Tools.Excel.ChartSheet has a legend.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Property HasLegend As Boolean
'Usage
Dim instance As ChartSheet 
Dim value As Boolean 

value = instance.HasLegend

instance.HasLegend = value
public bool HasLegend { get; set; }
public:
property bool HasLegend {
    bool get ();
    void set (bool value);
}
public function get HasLegend () : boolean 
public function set HasLegend (value : boolean)

Property Value

Type: System.Boolean
true if the Microsoft.Office.Tools.Excel.ChartSheet has a legend.

.NET Framework Security

See Also

Reference

ChartSheet Class

ChartSheet Members

Microsoft.Office.Tools.Excel Namespace