ChartSheetBase.ProtectFormatting Property

 

Gets or sets a value that indicates whether Microsoft.Office.Tools.Excel.ChartSheetBase formatting cannot be modified by the user.

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

public bool ProtectFormatting { get; set; }

Property Value

Type: System.Boolean

true if Microsoft.Office.Tools.Excel.ChartSheetBase formatting cannot be modified by the user.

When this property is true, the Object command on the Format menu is disabled and Microsoft.Office.Tools.Excel.ChartSheetBase elements cannot be added, moved, resized, or deleted.

Return to top
Show: