# Dimension changes in SaveAs Canvas for batch mode

**URL:** <https://root-forum.cern.ch/t/dimension-changes-in-saveas-canvas-for-batch-mode/63385>\
**Category:** Newbie\
**Tags:** graphics\
**Created:** [April 14, 2025, 12:24pm UTC](https://root-forum.cern.ch/t/dimension-changes-in-saveas-canvas-for-batch-mode/63385 "2025-04-14T12:24:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [April 14, 2025, 1:34pm UTC](https://root-forum.cern.ch/t/dimension-changes-in-saveas-canvas-for-batch-mode/63385/2 "2025-04-14T13:34:48Z")

</div>

Check this thread

> [@TCanvas size](https://root-forum.cern.ch/t/tcanvas-size/55519/2):
>
> TCanvas\* c0 = new TCanvas("c0", "c0", 30, 30, 600, 600); this defines the window size, not the canvas size. To control the canvas size, you need to add c0-\>SetCanvasSize(yourwidth,yourheight); see the [Documentation](https://root.cern/doc/master/classTCanvas.html).

---

_[View the full topic](https://root-forum.cern.ch/t/dimension-changes-in-saveas-canvas-for-batch-mode/63385)._
