SpreadsheetGear 2017
SetSelection(IShapeRange,Boolean) Method






SpreadsheetGear Namespace > IWorksheetWindowInfo Interface > SetSelection Method : SetSelection(IShapeRange,Boolean) Method
Specifies the shapes to select.
Specifies whether the currently selected shapes should be replaced (unselected).
Selects the specified shapes, replacing the currently selected shapes if replace is true.
Syntax
'Declaration
 
Overloads Sub SetSelection( _
   ByVal selection As IShapeRange, _
   ByVal replace As System.Boolean _
) 
'Usage
 
Dim instance As IWorksheetWindowInfo
Dim selection As IShapeRange
Dim replace As System.Boolean
 
instance.SetSelection(selection, replace)
void SetSelection( 
   IShapeRange selection,
   System.bool replace
)
procedure SetSelection( 
    selection: IShapeRange;
    replace: System.Boolean
); 
function SetSelection( 
   selection : IShapeRange,
   replace : System.boolean
);
void SetSelection( 
   IShapeRange* selection,
   System.bool replace
) 
void SetSelection( 
   IShapeRange^ selection,
   System.bool replace
) 

Parameters

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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