ImgArea_GetPixelSelection

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

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

Parameter areaRef is the plug-in area reference.

The selection rectangle is returned in pixelSelection as a RectObj expressed in pixels.

If the plug-in area is currently displaying a PDF document, an undefined object is returned. Call ImgArea_GetPointSelection in that case to retrieve the selection rectangle expressed in points.

Note

This method is a convenience wrapper for the ImgArea_GetSelection method.