|
|
|
|
|
InitialTool (Property) In french: OutilInitial
The InitialTool property is used to get or change the drawing tool selected by default in an Image Editor control. 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:
| | toolArrow | The arrow tool is selected by default in the Image Editor control. | toolBlur | The blur tool is selected by default in the Image Editor control. | toolCrop | The crop tool is selected by default in the Image Editor control. | toolEllipse | The ellipse tool is selected by default in the Image Editor control. | toolEraser | The eraser tool is selected by default in the Image Editor control. | toolFill | The fill tool is selected by default in the Image Editor control. | toolLine | The line tool is selected by default in the Image Editor control. | toolOCR | The OCR tool is selected by default in the Image Editor control. | toolPencil | The pencil tool is selected by default in the Image Editor control. | toolRectangle | The rectangle tool is selected by default in the Image Editor control. | toolText | The text tool is selected by default in the Image Editor control. | toolWatermark | The 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:
| | toolArrow | The arrow tool is selected by default in the Image Editor control. | toolBlur | The blur tool is selected by default in the Image Editor control. | toolCrop | The crop tool is selected by default in the Image Editor control. | toolEllipse | The ellipse tool is selected by default in the Image Editor control. | toolEraser | The eraser tool is selected by default in the Image Editor control. | toolFill | The fill tool is selected by default in the Image Editor control. | toolLine | The line tool is selected by default in the Image Editor control. | toolOCR | The OCR tool is selected by default in the Image Editor control. | toolPencil | The pencil tool is selected by default in the Image Editor control. | toolRectangle | The rectangle tool is selected by default in the Image Editor control. | toolText | The text tool is selected by default in the Image Editor control. | toolWatermark | The 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|