Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

Description

Sets or returns whether a worksheet formatted with colors will be printed in black and white. Set this to true if you are printing a colored worksheet on a black and white printer, or to reduce printing time on a color printer.
C#
<p> public boolean PrintInBlackAndWhite{ get; set; }</p>
vb.net
<p>Public Property PrintInBlackAndWhite() As Boolean</p>

Remarks

This property has no effect when rendering the worksheet to a PDF document.

Examples

C#
//--- Get PrintBlackAndWhite
bool bw = ps.PrintInBlackAndWhite;
 
//--- Set PrintBlackAndWhite
ps.PrintInBlackAndWhite = true;
vb.net
'--- Get PrintBlackAndWhite
Dim bw As Boolean = ps.PrintInBlackAndWhite
 
'--- Set PrintBlackAndWhite
ps.PrintInBlackAndWhite = True
  • No labels