ImageGear for .NET
showEmptySelection Method
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PageView Class : showEmptySelection Method

imagePoint
The location at which the selection should be placed. The units of the point are the same as that for pageWidth (pixels for raster images and points for PDF images). The selection will be clipped to the bounds of the actual image.

Glossary Item Box

Show an empty selection.

Syntax

ASP.NET Ajax Javascript (Specification) 
function showEmptySelection( 
   imagePoint : Point
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfPageView.showEmptySelection(Point);

Parameters

imagePoint
The location at which the selection should be placed. The units of the point are the same as that for pageWidth (pixels for raster images and points for PDF images). The selection will be clipped to the bounds of the actual image.

Remarks

This function causes the viewer to show a zero-sized selection at the specified point on the image, although that will not affect the visual appearance of the viewer until the browser has some idle time or you call the display function. Normally, you will want to use showEmptySelection and extendSelection together to define a rectangle. Start by calling showEmptySelection, followed by one or more calls to extendSelection. If the viewer does not have an open image, this function will do nothing.

See Also

©2013. Accusoft Corporation. All Rights Reserved.