ImageGear for Java
zoomToRectangle Method
ImGearZoomInfo object with new zoom attributes.
Specified device rectangle. IImGearScrollableViewcom.accusoft.imagegear.core.shapes.ImGearRectangle
Performs zooming to specified device rectangle and returns new zoom information.

This method calculates the zoom and scroll values, so that the specified rectangle is fitted to ClipRect and zoom image is fitted to the rectangle calculated. For both horizontal and vertical zoom attributes, it sets ImGearZoomComponentInfo. Fixed field to true, calculates and modifies ImGearZoomComponentInfo. Value field, the horizontal and vertical scroll positions, and returns new instance of ImGearZoomInfo object with new zoom attributes.

Syntax

Parameters

pageView
ImGearZoomInfo object with new zoom attributes.
rect
Specified device rectangle. IImGearScrollableViewcom.accusoft.imagegear.core.shapes.ImGearRectangle
See Also

Reference

IImGearPageDisplay Interface
IImGearPageDisplay Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback