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 Excel will print the worksheet in draft quality. This can be used to reduce printing time. When this is set to true, Excel does not print gridlines and most graphics. This is set to false by default.

Signature
C#
C#
<p> public boolean PrintAsDraft{ get; set; }</p>
Signature
vb.net
vb.net
<p>Public Property PrintAsDraft() As Boolean</p>

Example
Code Block
csharp
csharp
titleC#
          //--- Get PrintAsDraft
          bool draft = ps.PrintAsDraft;

          //--- Set PrintAsDraft
          ps.PrintAsDraft = true;
        
Code Block
vb.net
vb.net
titlevb.net
          '--- Get PrintAsDraft
          Dim draft As Boolean = ps.PrintAsDraft

          '--- Set PrintAsDraft
          ps.PrintAsDraft = True