Spread Windows Forms 10.0 Product Documentation
GetClipDataObject(Boolean,CellRange,ClipboardCopyOptions) Method
Example 


Whether from cutting
Cell range
ClipboardCopyOptions
Gets a data object with the necessary formats for Clipboard usage: CellInfoRange, ColumnInfoRange, and RowInfoRange.
Syntax
'Declaration
 
Public Function GetClipDataObject( _
   ByVal fromCutting As Boolean, _
   ByVal cellRange As CellRange, _
   ByVal copyOptions As ClipboardCopyOptions _
) As DataObject
'Usage
 
Dim instance As SheetView
Dim fromCutting As Boolean
Dim cellRange As CellRange
Dim copyOptions As ClipboardCopyOptions
Dim value As DataObject
 
value = instance.GetClipDataObject(fromCutting, cellRange, copyOptions)
public DataObject GetClipDataObject( 
   bool fromCutting,
   CellRange cellRange,
   ClipboardCopyOptions copyOptions
)

Parameters

fromCutting
Whether from cutting
cellRange
Cell range
copyOptions
ClipboardCopyOptions

Return Value

DataObject
Example
This example uses the GetClipDataObject method.
object res;
res = fpSpread1.Sheets[0].GetClipDataObject(true, new FarPoint.Win.Spread.Model.CellRange(0,0,2,2), FarPoint.Win.Spread.ClipboardCopyOptions.All);
Dim res As Object
res = FpSpread1.Sheets(0).GetClipDataObject(True, New FarPoint.Win.Spread.Model.CellRange(0, 0, 2, 2), FarPoint.Win.Spread.ClipboardCopyOptions.All)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.