Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns whether formulas or their calculated values will be displayed in the worksheet. Calculated values are displayed by default.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean ShowFormulas{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
<p>Public Property ShowFormulas() As Boolean</p>
Example
Code Block
csharp
csharp
titleC#

          //--- Get ShowFormulas
          bool displayFormulas = ws.ShowFormulas;

          //--- Set ShowFormulas
          ws.ShowFormulas = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Get ShowFormulas
          Dim displayFormulas As Boolean = ws.ShowFormulas

          '--- Set ShowFormulas
          ws.ShowFormulas = True