Compartir a través de


ChartSheetBase.ProtectFormatting (Propiedad)

Obtiene o establece un valor que indica si el usuario puede modificar el formato del objeto Microsoft.Office.Tools.Excel.ChartSheetBase.

Espacio de nombres:  Microsoft.Office.Tools.Excel
Ensamblado:  Microsoft.Office.Tools.Excel.v4.0.Utilities (en Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Sintaxis

'Declaración
Public Property ProtectFormatting As Boolean
public bool ProtectFormatting { get; set; }

Valor de propiedad

Tipo: System.Boolean
true si el usuario no puede modificar el formato del objeto Microsoft.Office.Tools.Excel.ChartSheetBase.

Comentarios

Cuando esta propiedad está establecida en true, el comando Objeto del menú Formato está deshabilitado y no se puede agregar, mover o eliminar elementos del objeto Microsoft.Office.Tools.Excel.ChartSheetBase, ni cambiarles el tamaño.

Seguridad de .NET Framework

Vea también

Referencia

ChartSheetBase Clase

Microsoft.Office.Tools.Excel (Espacio de nombres)