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.


Comments or suggestions? Contact Adobe Developer Support
Copyright © 1997 - 2001 Adobe Systems Incorporated. All rights reserved.
Legal notices and trademark attributions