Compartir a través de


_Chart.ProtectFormatting Property

True if chart formatting cannot be modified by the user.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ProtectFormatting As Boolean
    Get
    Set
'Usage
Dim instance As _Chart
Dim value As Boolean

value = instance.ProtectFormatting

instance.ProtectFormatting = value
bool ProtectFormatting { get; set; }

Property Value

Type: System.Boolean

Remarks

When this property is True, the Object command on the Format menu is disabled and chart elements cannot be added, moved, resized, or deleted.

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace