See Also

IWorksheetWindowInfo Interface  | IWorksheetWindowInfo Members  | Overload List  | SetSelection(IRange,IRange,Int32) Method

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

selection
Specifies the shapes to select.
replace
Specifies whether the currently selected shapes should be replaced (unselected).
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

SetSelection(IShapeRange,Boolean) Method

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 )

Parameters

selection
Specifies the shapes to select.
replace
Specifies whether the currently selected shapes should be replaced (unselected).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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.