| SpreadsheetGear Namespace > IWorksheetWindowInfo Interface > SetSelection Method : SetSelection(IShapeRange,Boolean) Method | 
Selects the specified shapes, replacing the currently selected shapes if replace is true.
[Visual Basic]
Overloads Overridable Sub SetSelection( _
   ByVal selection As IShapeRange, _
   ByVal replace As Boolean  _
) [C#]
virtual void SetSelection( 
   IShapeRange selection,
   bool  replace
);[C++]
virtual void SetSelection( 
   IShapeRange* selection,
   bool  replace
) [C++/CLI]
virtual void SetSelection( 
   IShapeRange^ selection,
   bool  replace
) 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 | SetSelection(IRange,IRange,Int32) 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.