ImgArea_GetTool

Return the currently selected plug-in area tool.
ImgArea_GetTool(areaRef) ➔ areaTool
areaRef Longint The plug-in area reference.
↩︎ areaTool Longint The plug-in area tool.

Return the currently selected plug-in area tool.

The plug-in area is specified by imageRef.

The currently selected tool is returned 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