SSpread.LoadBlockFromBuffer Method
| Explanation | Imports the contents of a spreadsheet stored in ByteArray in binary format into the spreadsheet currently being editing.-1 or 0 cannot be specified as the cell range.Even if it is specify a range larger than the range saved by SaveBlockToBuffer, it will be the range up to the range acquired by SaveBlockToBuffer. Binary data is in SSpread's own format. It can be saved using the SaveBlockToBuffer method. Added since Ver.5.0.3 | |
| Call format | LoadBlockFromBuffer(col, row, col2, row2, data) | |
| Return value | None | |
| Arguments | col | Column number of the upper left cell of the cell range to be read |
| row | Row number of the upper left cell of the cell range to be read | |
| col2 | Column number of the lower right cell of the cell range to be read | |
| row2 | Row number of the lower right cell of the cell range to be read | |
| data | ByteArray object containing binary format data | |
| Exception | EXT-1 | The argument of LoadBlockFromBuffer is invalid |
| EXT-28 | An error occurred in the LoadBlockFromBuffer method | |
| Related item | SaveBlockToBuffer method | |