Method GetZoomRect
GetZoomRect(double)
Returns the logical rectangle that is currently visible in the control at the given viewport width. Height is derived from the control's pixel dimensions, not the image aspect ratio, so that the returned rect always matches the visible area regardless of control shape.
public Rect<double> GetZoomRect(double viewportWidth)
Parameters
viewportWidthdouble