SSpread.SaveBlockToBuffer Method
| Explanation | Saves all cell information in the specified range in ByteArray in binary format. -1 or 0 cannot be specified as the cell range. Binary data is in SSpread's own format. It can be loaded using the LoadBlockFromBuffer method. Added since Ver.5.0.3 | |
| Call format | var data = SaveBlockToBuffer(col, row, col2, row2) | |
| Return value | ByteArray object containing cell information | |
| Arguments | col | Column number of the upper left cell of the cell range to save |
| row | Row number of the upper left cell of the cell range to save | |
| col2 | Column number of the lower right cell of the cell range to save | |
| row2 | Row number of the lower right cell of the cell range to save | |
| Exception | EXT-1 | The argument of SaveBlockToBuffer is invalid |
| EXT-28 | An error occurred in the SaveBlockToBuffer method | |
| Example of use | | |
| Related item | LoadBlockFromBuffer method | |