ImgArea_SetPixelSelectionΒΆ

Set the marquee pixel selection rectangle of a plug-in area.
ImgArea_SetPixelSelection(areaRef; pixelSelection)
areaRef Longint The image area reference.
pixelSelection Object The image area pixel selection rectangle.

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

Parameter areaRef is the plug-in area reference.

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

If the plug-in area is currently displaying a PDF document, this method does nothing. Call ImgArea_SetPointSelection in that case to set the selection rectangle expressed in points.

Note

This method is a convenience wrapper for the ImgArea_SetSelection method.