ImgArea_SetTool¶
Select a plug-in area tool.
ImgArea_SetTool(areaRef;areaTool)
| → | areaRef |
Longint | The plug-in area reference. |
| → | areaTool |
Longint | The image area tool. |
Select a plug-in area tool.
The plug-in area is specified by imageRef.
The tool is specified in areaTool.
Tool identifiers are defined in the Image Area Tools constants group:
| Constant | Value | Description |
|---|---|---|
| kImgAreaPointerTool | 0 |
The pointer tool |
| kImgAreaMarqueeTool | 1 |
The marquee tool |
| kImgAreaZoomTool | 2 |
The zoom tool |
| kImgAreaHandTool | 3 |
The hand tool |