ImgArea_GetSelection

Return the marquee selection rectangle of a plug-in area.
ImgArea_GetSelection(areaRef) ➔ selection
areaRef Longint The image area reference.
selection Object The image area selection rectangle.

Return the marquee selection rectangle of a plug-in area.

Parameter areaRef is the plug-in area reference.

The selection rectangle is returned in selection as a 4D object containing the following properties:

Property name Type Description
PointSelection RectObj The marquee selection rectangle expressed in points.
PixelSelection RectObj

The marquee selection rectangle expressed in pixels.

Present only when the plug-in area displays a raster image.

If there is no marquee selection, an undefined object is returned.

Note

This method is a convenience wrapper for the ImgArea_GetSelection_JSN plug-in method.