NativeExcel2 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]
PropertyDraftAsBoolean
[C#]
boolDraft{get;set;}
[C++]
__propertyboolget_Draft();
__propertyvoidset_Draft(bool);
[JScript]
functiongetDraft():bool
functionsetDraft(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;
[VisualBasic]
book.Worksheets(1).PageSetup.Draft = True
[C++]
book->Worksheets->Item[1]->PageSetup->Draft = true;

See Also

IPageSetup Interface | NativeExcel Namespace | PageSetup Property