Hi
I am trying to save a TCanvas into a pdf and I would like to save it in a way that the TCanvas space occupies the interior of a letter page. I can see the image output depends on the actual size of the canvas when I call the command “Save as” using the right-click action on the canvas object. The other issue I was having is that the image is saved in portrait mode and it would look better in landscape mode.
Question 1: What would be the canvas size dimensions so to fit into a letter page?
Question 2: How could I save an image as landscape?
I have tried before creating my canvas but it did not help.
gStyle->SetPaperSize(TStyle::kA4);
I thought also in saving my canvas as ps format and then using imagemagic to format my image (rotate-image, paper-orientation, paper-size, etc) however I was hoping to reduce the amount of work in creating images and maybe to automatized and optimize the process of saving the image right in root.
It would be great if anybody could comment on this issue or provide any idea or suggestions.
Regards,
Cris