Skip to main content

TdxSpreadSheetTableView.CopyCellDataToStream(TRect,TStream) Method

Copies cell values and formatting from the specified cell range to a stream.

Declaration

procedure CopyCellDataToStream(const AArea: TRect; AStream: TStream); overload;

Parameters

Name Type Description
AArea TRect

The source cell range.

AStream TStream

The target stream object.

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.

Call the dxSpreadSheetCore.TdxSpreadSheetTableView.CopyCellDataToStream(System.String,System.Classes.TStream) procedure to specify the copied cell range in A1 format.

See Also