PasteFromClipBoard method

Applies to

TWorksheet

Declaration

procedure PasteFromClipBoard(InsertLines,Overwrite: boolean); public

Description

This method inserts data from the clipboard (in TRealData format or plain text). Displays operation progress using Container.ShowProgress() method and set Modified:=true. If InsertLines flag is true, new lines will be added from the insertion point, otherwise the result will depend on Overwrite flag: if it is true, cells contents will be overwrited, else new numbers will be inserted. Use WksDemo sample to see PasteFromClipBoard in action.