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
The InitialTool property is used to get or change the drawing tool selected by default in an Image Editor control.
Example
IE_ImageEditor.InitialTool = toolArrow
Syntax

Getting the initial drawing tool in an Image Editor control Hide the details

<Result> = <Image Editor control>.InitialTool
<Result>: Integer constant
Tool selected by default in the Image Editor control:
toolArrowThe arrow tool is selected by default in the Image Editor control.
toolBlurThe blur tool is selected by default in the Image Editor control.
toolCropThe crop tool is selected by default in the Image Editor control.
toolEllipseThe ellipse tool is selected by default in the Image Editor control.
toolEraserThe eraser tool is selected by default in the Image Editor control.
toolFillThe fill tool is selected by default in the Image Editor control.
toolLineThe line tool is selected by default in the Image Editor control.
toolOCRThe OCR tool is selected by default in the Image Editor control.
toolPencilThe pencil tool is selected by default in the Image Editor control.
toolRectangleThe rectangle tool is selected by default in the Image Editor control.
toolTextThe text tool is selected by default in the Image Editor control.
toolWatermarkThe watermark tool is selected by default in the Image Editor control.
<Image Editor control>: Control name
Name of the Image Editor control used.

Changing the initial drawing tool in an Image Editor control Hide the details

<Image Editor control>.InitialTool = <Default tool>
<Image Editor control>: Control name
Name of the Image Editor control used.
<Default tool>: Integer constant
Tool to be selected by default in the Image Editor control:
toolArrowThe arrow tool is selected by default in the Image Editor control.
toolBlurThe blur tool is selected by default in the Image Editor control.
toolCropThe crop tool is selected by default in the Image Editor control.
toolEllipseThe ellipse tool is selected by default in the Image Editor control.
toolEraserThe eraser tool is selected by default in the Image Editor control.
toolFillThe fill tool is selected by default in the Image Editor control.
toolLineThe line tool is selected by default in the Image Editor control.
toolOCRThe OCR tool is selected by default in the Image Editor control.
toolPencilThe pencil tool is selected by default in the Image Editor control.
toolRectangleThe rectangle tool is selected by default in the Image Editor control.
toolTextThe text tool is selected by default in the Image Editor control.
toolWatermarkThe watermark tool is selected by default in the Image Editor control.
Remarks
To change the default characteristics of the Image Editor control, you can also use the InitialWidth and InitialHeight properties to set the default size of the image created 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: 03/04/2024

Send a report | Local help