SpreadsheetGear
CreateCommandPasteSpecial Method
See Also  Send Feedback
SpreadsheetGear.Windows.Forms Namespace > CommandManager Class : CreateCommandPasteSpecial Method

range
Specifies the range which this command will affect.
pasteType
Specifies what to paste.
pasteOperation
Specifies how to combine values.
skipBlanks
Specifies whether blanks in the source range should be skipped (formatted cells with no data are considered blank cells).
transpose
Specifies whether data should be transposed in the destination.
Creates an instance of the default paste special command.

Syntax

Visual Basic (Declaration) 
Public Overridable Function CreateCommandPasteSpecial( _
   ByVal range As IRange, _
   ByVal pasteType As PasteType, _
   ByVal pasteOperation As PasteOperation, _
   ByVal skipBlanks As Boolean, _
   ByVal transpose As Boolean _
) As Command
C# 
public virtual Command CreateCommandPasteSpecial( 
   IRange range,
   PasteType pasteType,
   PasteOperation pasteOperation,
   bool skipBlanks,
   bool transpose
)

Parameters

range
Specifies the range which this command will affect.
pasteType
Specifies what to paste.
pasteOperation
Specifies how to combine values.
skipBlanks
Specifies whether blanks in the source range should be skipped (formatted cells with no data are considered blank cells).
transpose
Specifies whether data should be transposed in the destination.

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.