共用方式為


ChartSheet.ProtectFormatting Property

Definition

Gets or sets a value that indicates whether ChartSheet 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 ChartSheet 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.ChartSheet elements cannot be added, moved, resized, or deleted.

Applies to