ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Spreadsheet functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds an image into the current worksheet of a Spreadsheet control.
Example
// Add the logo.png image between A2 and B5
SpreadsheetAddImage(PSHEET_Spreadsheet, "c:\temp\logo.png", "A2", "B5")
 
// Add the banner.png image at C6 position
SpreadsheetAddImage(PSHEET_Spreadsheet, "c:\temp\banner.png", "C6")
Syntax
<Result> = SpreadsheetAddImage(<Spreadsheet control> , <Image> , <Insertion cell> [, <End cell>])
<Result>: Character string
Identifier of added image.
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.
<Image>: Character string
Full path of image file that will be added into the control.
<Insertion cell>: Character string
Coordinate of cell where the upper-left corner of the image must be positioned.
<End cell>: Character string
Coordinate of cell where the right bottom corner of the image must be positioned. The image covers the cell. If this property is not specified, the image is inserted with its size set to 100%.
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help