Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Sheet.RemovePictureByIndex
Removes a picture by index.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Sheet.RemovePictureByIndex"; bookRef; sheetIndex; Index ) More
Parameters
Parameter | Description | Example |
---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
sheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 |
Index | The index of the picture. First one starts with zero. |
0 |
Result
Returns OK or error.
Description
Removes a picture by index.Examples
Remove a picture by index:
Set Variable [ $r; Value: MBS( "XL.Sheet.RemovePictureByIndex"; $book; 0; $imageIndex ) ]
See also
Release notes
- Version 10.2
- Added XL.Sheet.RemovePicture and XL.Sheet.RemovePictureByIndex functions.
Blog Entries
This function checks for a license.
Created 18th April 2020, last changed 19th April 2020