See Also

IPageSetup Interface  | IPageSetup Members  | PrintTitleRows Property  | PrintTitleColumns Property

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

PrintArea Property

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); }

Remarks

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".

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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.