Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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}
{example}{code:csharp|title=C#}

          //--- Get PrintAsDraft
          bool draft = ps.PrintAsDraft;

          //--- Set PrintAsDraft
          ps.PrintAsDraft = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get PrintAsDraft
          Dim draft As Boolean = ps.PrintAsDraft

          '--- Set PrintAsDraft
          ps.PrintAsDraft = True
        {code}

{example}
Signature
C#C#
Wiki Markup
{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.{excerpt}
{signature:C#}
 public boolean PrintAsDraft{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property PrintAsDraft() As Boolean
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle