PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

New WINDEV 23 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
Creates a new image in an Image Editor control.
Example
// Create the image in the Image Editor control
IF PicCreate(IE_MyEditor, picImage, 48, 24) = False THEN
Error(ErrorInfo())
END
Syntax
<Result> = PicCreate(<Image Editor Control> [, <Creation Mode> [, <Width> [, <Height>]]])
<Result>: Boolean
  • True if the image was created,
  • False otherwise. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Image Editor Control>: Control name
Name of Image Editor control to use.
<Creation Mode>: Optional Integer constant
Creation mode of image:
picIconA new icon is created. In this case, the <Width> and <Height> parameters must not be specified. Otherwise, a fatal error is displayed.
picImage
(Default value)
A new image is created. In this case, the <Width> and <Height> parameters must be specified.
<Width>: Optional integer
Width of image to create, expressed in pixels. This width is set to 800 pixels by default.
Caution: This parameter must be specified when using the picImage constant. A fatal error occurs if this parameter is specified with the picIcon constant.
<Height>: Optional integer
Height of image to create, expressed in pixels. This height is set to 600 pixels by default.
Caution: This parameter must be specified when using the picImage constant. A fatal error occurs if this parameter is specified with the picIcon constant.
Components
WINDEVReports and Queries wd230pic.dll
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment