共用方式為


ChartSheetBase.ProtectFormatting Property

Definition

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

public:
 property bool ProtectFormatting { bool get(); void set(bool value); };
public bool ProtectFormatting { get; set; }
member this.ProtectFormatting : bool with get, set
Public Property ProtectFormatting As Boolean

Property Value

true if ChartSheetBase formatting cannot be modified by the user.

Remarks

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.

Applies to