PGetTool

Gets the currently selected tool in the Tool palette.


Query results

This query returns a short, representing:
kPointerTool (these are defined in PKeywords.h)
kTextTool
kOvalTool

kRoundedRectTool
kDiagLineTool
kPerpLineTool
kPolygonTool
kZoomTool
kRotationTool
kCropTool
To change which tool is selected, use the PTool command.

Layout view only.
The PGetTool query works only in layout view.


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support