SpreadsheetGear 2023
SetSelection Method (IChartSheetWindowInfo)


SpreadsheetGear Namespace > IChartSheetWindowInfo Interface : SetSelection 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
 
Sub SetSelection( _
   ByVal selection As IShapeRange, _
   ByVal replace As System.Boolean _
) 
'Usage
 
Dim instance As IChartSheetWindowInfo
Dim selection As IShapeRange
Dim replace As System.Boolean
 
instance.SetSelection(selection, 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

IChartSheetWindowInfo Interface
IChartSheetWindowInfo Members