Hello,
i have an OEM subscription for Aspose.Pdf
Reading the online docs (API), in the Apose.Pdf.Image class, i see this property:
"RotatingAngle"
i've installed the latest DLL (9.1.0) and created an Image object.... but i can't find that property...
what's wrong? the DOCS? my DLL installation? or what else?
Anyway.... i want to create a PDF with 2 images, one for each page, in landscape.
The images are TIFF, and they are portrait.
here is my code:
Thank you
Best regards,
Andrea
i have an OEM subscription for Aspose.Pdf
Reading the online docs (API), in the Apose.Pdf.Image class, i see this property:
"RotatingAngle"
i've installed the latest DLL (9.1.0) and created an Image object.... but i can't find that property...
what's wrong? the DOCS? my DLL installation? or what else?
Anyway.... i want to create a PDF with 2 images, one for each page, in landscape.
The images are TIFF, and they are portrait.
here is my code:
At the end, the image orientation is ok.... the pages are landscape... but the image is truncated and distorted.... it's like it was fitted to a portrait A4 page, and then rotated the page and truncated the image.pagina.PageInfo.Margin.Bottom = 0;
pagina.PageInfo.Margin.Top = 0;
pagina.PageInfo.Margin.Left = 0;
pagina.PageInfo.Margin.Right = 0;
pagina.Rotate = Aspose.Pdf.Rotation.on90;
Aspose.Pdf.Image image = new Aspose.Pdf.Image();
pagina.Paragraphs.Add(image);
image.ImageStream = new System.IO.FileStream(pathCompletoImg,System.IO.FileMode.Open);
Thank you
Best regards,
Andrea