Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.