SpreadsheetGear
CreateCommandInsert(IRange,InsertShiftDirection) Method
See Also  Send Feedback
SpreadsheetGear.Windows.Forms Namespace > CommandManager Class > CreateCommandInsert Method : CreateCommandInsert(IRange,InsertShiftDirection) Method

range
Specifies the range which this command will affect.
shiftDirection
Specifies the direction which cells will be shifted.
Creates an instance of the default insert command.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Function CreateCommandInsert( _
   ByVal range As IRange, _
   ByVal shiftDirection As InsertShiftDirection _
) As Command
C# 
public virtual Command CreateCommandInsert( 
   IRange range,
   InsertShiftDirection shiftDirection
)

Parameters

range
Specifies the range which this command will affect.
shiftDirection
Specifies the direction which cells will be shifted.

Remarks

Override this method to provide a custom implementation of this command.

Requirements

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.