ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
ImageInitialWidth (Property)
In french: LargeurImageInitiale
The ImageInitialWidth property is used to get and set the default width of the image created in an Image Editor control.
Example
IE_MyImageEditor.ImageInitialWidth = 800
IE_MyImageEditor.ImageInitialHeight = 600
Syntax

Getting the default width of the image created in the Image Editor control Hide the details

<Result> = <Image Editor control>.ImageInitialWidth
<Result>: Integer
Default width (in pixels) of an image created in the Image Editor control.
<Image Editor control>: Control name
Name of the Image Editor control used.

Setting the default width of the image created in the Image Editor control Hide the details

<Image Editor control>.ImageInitialWidth = <New width>
<Image Editor control>: Control name
Name of the Image Editor control used.
<New width>: Integer
New default width (in pixels) of an image created in the Image Editor control.
Remarks
To change the default characteristics of the Image Editor control, you can also use:
  • the ImageInitialHeight property to set the default height of the image created in the Image Editor control.
  • the InitialTool property to set the tool used by default in the Image Editor control.
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help