SpreadsheetGear Namespace > IPageSetup Interface : PrintArea Property |
Gets or sets the area of the worksheet to print.
[Visual Basic]
Overridable Property PrintArea As String
[C#]
virtual string PrintArea {get; set;}
[C++]
__property virtual string * get_PrintArea();
__property virtual void set_PrintArea(
string * value
);
[C++/CLI]
virtual property String ^ PrintArea {
String ^ get();
void set (String ^ value);
}
A string with a length of zero is returned if there is no print area.
When no print area is defined, the used range of the worksheet is printed.
The print area of a worksheet is stored in the sheet specific defined name "Print_Area".
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IPageSetup Interface | IPageSetup Members | PrintTitleRows Property | PrintTitleColumns Property
See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.
Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.
SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.