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(
	int topLeftRowIndex,
	int topLeftColumnIndex,
	int bottomRightRowIndex,
	int bottomRightColumnIndex
)
Public Sub SetPrintArea ( _
	topLeftRowIndex As Integer, _
	topLeftColumnIndex As Integer, _
	bottomRightRowIndex As Integer, _
	bottomRightColumnIndex As Integer _
)
public:
void SetPrintArea(
	int topLeftRowIndex, 
	int topLeftColumnIndex, 
	int bottomRightRowIndex, 
	int bottomRightColumnIndex
)

Parameters

topLeftRowIndex
Int32
Row index of top left cell of print area.
topLeftColumnIndex
Int32
Column index of top left cell of print area.
bottomRightRowIndex
Int32
Row index of top bottom right of print area.
bottomRightColumnIndex
Int32
Column index of bottom right cell of print area.

See Also