NativeExcel for .Net Developer's Reference

IPageSetup.Draft Property

Gets or sets a value that indicates whether the sheet will be printed with or without graphics.

[Visual Basic]
Property Draft As Boolean
[C#]
bool Draft { get; set; }
[C++]
__property bool get_Draft();
__property void set_Draft(bool );
[JScript]
function get Draft() : bool
function set Draft(bool);

Property Value

True if the sheet will be printed without graphics.

Example

This example disables printing of graphics.

[C#]
book.Worksheets[1].PageSetup.Draft = true;
[Visual Basic]
book.Worksheets(1).PageSetup.Draft = True
[C++]
book->Worksheets->Item[1]->PageSetup->Draft = true;

See Also

IPageSetup Interface | NativeExcel Namespace | PageSetup Property