SpreadsheetGear Namespace > IWorksheetWindowInfo Interface > SetSelection Method : SetSelection(IRange,IRange,Int32) Method |
Selects the specified range and activates the specified cell.
[Visual Basic]
Overloads Overridable Sub SetSelection( _
ByVal selection As IRange, _
ByVal activeCell As IRange, _
ByVal activeCellAreaIndex As Integer _
)
[C#]
virtual void SetSelection(
IRange selection,
IRange activeCell,
int activeCellAreaIndex
);
[C++]
virtual void SetSelection(
IRange* selection,
IRange* activeCell,
int activeCellAreaIndex
)
[C++/CLI]
virtual void SetSelection(
IRange^ selection,
IRange^ activeCell,
int activeCellAreaIndex
)
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IWorksheetWindowInfo Interface | IWorksheetWindowInfo Members | Overload List | WindowInfo Property | ActiveCell Property | ActiveCellAreaIndex Property | RangeSelection Property | Activate Method | Select Method | SetSelection(IShapeRange,Boolean) Method
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.