Skip to main content

TdxSpreadSheetTableView.PasteCellDataFromStream(TPoint,TStream,TdxSpreadSheetClipboardPasteOptions) Method

Pastes cell data and formatting from a stream object into the worksheet at the specified position.

Declaration

procedure PasteCellDataFromStream(const ADestination: TPoint; AStream: TStream; APasteOptions: TdxSpreadSheetClipboardPasteOptions = dxSpreadSheetDefaultPasteOptions);

Parameters

Name Type Description
ADestination TPoint

The origin cell (the top-left corner) of the inserted cell range. The ADestination.X and ADestination.Y fields correspond to the target cell’s column and row indexes, respectively.

AStream TStream

The source stream object populated by a CopyCellDataToStream call.

APasteOptions TdxSpreadSheetClipboardPasteOptions

Optional. The set of individual paste operation option flags. The procedure uses the paste options defined in the dxSpreadSheetDefaultPasteOptions global constant.

Remarks

The CopyCellDataToStream and PasteCellDataFromStream procedures are designed to copy cell ranges between worksheets without the clipboard. Refer to the following topic for detailed information and code examples: How to Copy, Cut, and Paste Cell Data without Accessing the Clipboard.

See Also