SpreadsheetGear 2017
Pasting Method (CommandRange.PasteSpecial)






SpreadsheetGear.Commands Namespace > CommandRange.PasteSpecial Class : Pasting Method
Specifies the destination paste range after adjusting for the size of the data being pasted.
Called during the execution of Paste or PasteSpecial to allow validation or other special handling of the range which is being pasted to.
Syntax
'Declaration
 
Protected Overridable Sub Pasting( _
   ByVal pasteRange As IRange _
) 
'Usage
 
Dim instance As CommandRange.PasteSpecial
Dim pasteRange As IRange
 
instance.Pasting(pasteRange)
protected virtual void Pasting( 
   IRange pasteRange
)
protected procedure Pasting( 
    pasteRange: IRange
); virtual; 
protected function Pasting( 
   pasteRange : IRange
);
protected: virtual void Pasting( 
   IRange* pasteRange
) 
protected:
virtual void Pasting( 
   IRange^ pasteRange
) 

Parameters

pasteRange
Specifies the destination paste range after adjusting for the size of the data being pasted.
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

CommandRange.PasteSpecial Class
CommandRange.PasteSpecial Members