SpreadsheetGear 2023
PrintArea Property (IPageSetup)


SpreadsheetGear Namespace > IPageSetup Interface : PrintArea Property
Gets or sets the area of the worksheet to print using ReferenceStyle.A1.
Syntax
'Declaration
 
Property PrintArea As System.String
'Usage
 
Dim instance As IPageSetup
Dim value As System.String
 
instance.PrintArea = value
 
value = instance.PrintArea
System.string PrintArea {get; set;}
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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IPageSetup Interface
IPageSetup Members
PrintTitleRows Property
PrintTitleColumns Property