Compartir a través de


ChartObjects.ProtectChartObject Property

True if the embedded chart frame cannot be moved, resized, or deleted through the user interface. Read/write Boolean.

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

Syntax

'Declaration
Property ProtectChartObject As Boolean
    Get
    Set
'Usage
Dim instance As ChartObjects
Dim value As Boolean

value = instance.ProtectChartObject

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

Property Value

Type: System.Boolean
Boolean

Remarks

Setting this property to True will not protect the embedded chart frame from being modified through the object model.

See Also

Reference

ChartObjects Interface

ChartObjects Members

Microsoft.Office.Interop.Excel Namespace