Description
Set print area.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SetPrintArea(
	ExcelCell topLeft,
	ExcelCell bottomRight
)
Public Sub SetPrintArea ( _
	topLeft As ExcelCell, _
	bottomRight As ExcelCell _
)
public:
void SetPrintArea(
	ExcelCell^ topLeft, 
	ExcelCell^ bottomRight
)

Parameters

topLeft
ExcelCell
Reference to the top left cell of print area.
bottomRight
ExcelCell
Reference to the bottom right cell of print area.

See Also