Zoom/Pan constraints

Thanks so much for your reply. But that still doesn’t solve the problem. You can still make an unlimited pan. I want to limit the drawing boundaries to the initial frame. And the zoom and pan operations will only be within those limits.