# Zoom to Customized Region in 2D Camera Mode

**URL:** https://discourse.paraview.org/t/zoom-to-customized-region-in-2d-camera-mode/16492
**Category:** ParaView Support
**Created:** [April 16, 2025, 6:51pm UTC](https://discourse.paraview.org/t/zoom-to-customized-region-in-2d-camera-mode/16492 "2025-04-16T18:51:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Han](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@Han](https://discourse.paraview.org/u/Han)
#### Post date: [April 16, 2025, 6:51pm UTC](https://discourse.paraview.org/t/zoom-to-customized-region-in-2d-camera-mode/16492/1 "2025-04-16T18:51:40Z")

</div>

Hello,

I’m trying to zoom the view such that the boundaries of my data domain locates exactly on the boundaries of the layout, so that the domain is not cropped and I also don’t need to crop the background afterwards. See attached example (I’ll modify aspect ratio before print, that’s not the problem).

 ![a](https://discourse.paraview.org/uploads/default/original/3X/3/f/3f1e7e6cec49a6309849c91b4dac43176939ea90.png)

However, in 2D mode, the _Camera Parameters_ seem to not changing the zooming. All other zooming options can’t customize to a specific range, including _zoom to box_. I tried to trace _zoom to box_ and then edit the box location in the script, but this action doesn’t show up in the script.  
My old way is using 3D mode with a very far-away camera and very narrow view angle, so it looks like 2D, but that doesn’t feel like the right way to do this.  
I’m using v5.11.2 on a cluster, changing version is possible but not prefered. Is there a better way to get what I want in ParaView?

Thank you,  
Han

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [April 17, 2025, 7:47am UTC](https://discourse.paraview.org/t/zoom-to-customized-region-in-2d-camera-mode/16492/2 "2025-04-17T07:47:28Z")

</div>

> [@Han](#):
>
> However, in 2D mode, the _Camera Parameters_ seem to not changing the zooming.

Indeed, looks like an oversight, please open an issue.

[https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)

---

<div class="post-metadata">

### Author: ![Han](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@Han](https://discourse.paraview.org/u/Han)
#### Post date: [April 17, 2025, 3:56pm UTC](https://discourse.paraview.org/t/zoom-to-customized-region-in-2d-camera-mode/16492/3 "2025-04-17T15:56:21Z")

</div>

Thank you for reply, just opened the issue.  
[https://gitlab.kitware.com/paraview/paraview/-/issues/22942](https://gitlab.kitware.com/paraview/paraview/-/issues/22942)
