Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.Book.GetPictureType

Returns a picture type at position index.

Component Version macOS Windows Linux Server iOS SDK
XL 3.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Book.GetPictureType"; bookRef; index )   More

Parameters

Parameter Description Example
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
index The index of the picture from 0 to XL.Book.PictureCount-1. 0

Result

Returns picture type or error.

Description

Returns a picture type at position index.
Types are: PNG, JPEG, WMF, GIF, DIB, EMF, SVG and TIFF.

See also

Release notes

  • Version 14.2
    • Improved XL.Book.GetPictureType to report future types as number.
    • Added SVG for XL.Book.GetPictureType and XL.Book.GetPicture.

This function checks for a license.

Created 18th August 2014, last changed 5th April 2024


XL.Book.GetPicture - XL.Book.GetRGBMode