C1.Xaml.Excel アセンブリ > C1.Xaml.Excel 名前空間 > C1XLBook クラス : KeepFormulas プロパティ |
'宣言 Public Property KeepFormulas As System.Boolean
public System.bool KeepFormulas {get; set;}
このプロパティを true に設定すると、既存の XLS/XLSX ファイルをロードして、一部のセルの値を変更し、式を維持したままファイルを保存できます。これはデフォルト設定です。
このプロパティを false に設定すると、コンポーネントは、ロード時にブック内の式を削除します。この場合、ファイルを保存すると、最後に計算された値は保持されますが、式は削除されます。
セルに値を割り当てると、セル内の式はクリアされます。
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2