ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PageView class : magnifierYOffset Property |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function get_magnifierYOffset() : Integer function set_magnifierYOffset(value : Integer) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfPageView.get_magnifierYOffset(); |
This property is a number that specifies the Y offset of the magnifier, in window pixels. The magnifier offset will offset the magnifier from the location of the cursor. The only normal use of this is for touch interfaces where the user's finger covers up the magnifier. Using an offset in this case allows you to move the magnifier out from under the user's finger. This must be a value between -500 and 500.
You should generally leave this value set to its default value of zero or set it a negative number equal to a little over half the height of the magnifier.