We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Saving tifs in A4 format and not in letter


i tryed to find a way how to save a converted tif from different input file types in A4 tif, but i didn't find.

This is very urgent please.

Thanks a lot & best regards

Mohamed Almutalibi


Thanks for your request.

Document doc = new Document(filename);

foreach (Section item in doc.Sections)
item.PageSetup.PaperSize = PaperSize.A4;

doc.Save("out.tif", SaveFormat.Tiff);

Best regards,

Thanks a lot, and what about pdfs? how to save them in tif A4?

Best regards


Thanks for your request. You should ask this question in Aspose.Pdf forum. My colleagues from Aspose.Pdf team will be glad to assist you.

Best regards,

Hi Mohamed,

Thanks for your inquiry.

You can use the same code provided by Vladimir to change the document page size to A4 before converting to PDF. In this case you would change the ".tif" extension to ".pdf".