PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Creates a new image in an Image Editor control.
Example
// Create the image in the Image Editor control
IF IE_MyEditor.Create(picImage, 48, 24) = False THEN
Error(ErrorInfo())
END
Syntax
<Result> = <Image Editor control>.Created([<Creation mode> [, <Width> [, <Height>]]])
<Result>: Boolean
  • True if the image was created,
  • False otherwise. To get the details of the error, use ErrorInfo 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.
Related Examples:
WDPic type Unit examples (WINDEV): WDPic type
[ + ] This example shows how to use the WDPic WLanguage type.
Component: wd270pic.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment