Description
Returns the indexes of cell of the 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 GetPrintArea(
	out int topLeftRow,
	out int topLeftColumn,
	out int bottomRightRow,
	out int bottomRightColumn
)
Public Sub GetPrintArea ( _
	<OutAttribute> ByRef topLeftRow As Integer, _
	<OutAttribute> ByRef topLeftColumn As Integer, _
	<OutAttribute> ByRef bottomRightRow As Integer, _
	<OutAttribute> ByRef bottomRightColumn As Integer _
)
public:
void GetPrintArea(
	[OutAttribute] int% topLeftRow, 
	[OutAttribute] int% topLeftColumn, 
	[OutAttribute] int% bottomRightRow, 
	[OutAttribute] int% bottomRightColumn
)

Parameters

topLeftRow
Int32%
Row index of top left cell of print area.
topLeftColumn
Int32%
Column index of top left cell of print area.
bottomRightRow
Int32%
Row index of top bottom right of print area.
bottomRightColumn
Int32%
Column index of bottom right cell of print area.

See Also