PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
grSaveImage (Function)
In french: grSauveImage
Saves the image of a chart in an Image variable.
Example
imgChart is Image = grSaveImage(CHART_Chart1)
Syntax
<Result> = grSaveImage(<Name of chart> [, <Width> , <Height>])
<Result>: Image variable
Image variable in which the chart image has been saved.
<Name of chart>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by programming with grCreate.
  • the name of Chart control found in the window editor or report editor.
<Width>: Optional integer
Width of image to generate. If the <Width> and <Height> parameters are not specified, the width and height of the Chart control will be used.
<Height>: Optional integer
Height of image to generate. If the <Width> and <Height> parameters are not specified, the width and height of the Chart control will be used.
Remarks
  • The image generated by grSaveImage corresponds to the chart displayed in the Chart control when grSaveImage is called.
  • The tooltip and crosshairs are ignored.
Business / UI classification : UI Code
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment