Spread Windows Forms 11.0 Product Documentation
SetClipSpecial Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SetClipSpecial Method
Sets the information to paste from the Clipboard for a specified range of cells on this sheet based on the paste option.
Overload List
OverloadDescription
Sets the information to paste from the Clipboard for a specified range of cells on this sheet based on the paste option.  
Sets the information to paste from the Clipboard for a specified range of cells on this sheet based on the paste option.  
Sets the information to paste from the Clipboard for a specified range of cells on this sheet based on the paste option.  
Remarks
If you simply want to do Clipboard operations with tab-delimited formatted data (text) or unformatted data (value) as strings, use the SetClip or SetClipValue methods. Use the SetClipSpecial method to paste objects into the target range. These objects can contain appearance, formula, value, and formatting information. Use the pasteOption parameter to specify the extent of the information in the CellInfo object.
Example
This example sets the pasted information for a range of cells based on the ClipboardPasteOptions.
FpSpread1.ActiveSheet.SetValue(0, 0, "SetClipSpecial")
Dim cells As New FarPoint.Win.Spread.CellInfoRange(0, 0)
FpSpread1.ActiveSheet.SetClipSpecial(0, 0, 0, 0, cells, FarPoint.Win.Spread.ClipboardPasteOptions.All)
fpSpread1.ActiveSheet.SetValue(0, 0, "SetClipSpecial");
FarPoint.Win.Spread.CellInfoRange cells = new FarPoint.Win.Spread.CellInfoRange(0, 0);
fpSpread1.ActiveSheet.SetClipSpecial(0, 0, 0, 0, cells, FarPoint.Win.Spread.ClipboardPasteOptions.All);
See Also

Reference

SheetView Class
SheetView Members
SetClip Method
SetClipValue Method
ClipboardPasteOptions Enum