I have a problem using RenderPageToGdPictureImageEx method.
I have a PDF in a GdPicturePDF object.
Dimensions of the PDF file read from Acrobat Reader are 220 x 309 mm.
My code:
Code: Select all
_oGdPicturePDF.GetPageHeight() returns 876
_oGdPicturePDF.GetPageWidth() returns 624
int _RasterPageID = _oGdPicturePDF.RenderPageToGdPictureImageEx(200, true);
_oGdPictureImaging.GetVerticalResolution(_RasterPageID) returns 72
_oGdPictureImaging.GetHorizonatlResolution(_RasterPageID) returns 72
This causes many problems using DrawRotatedText method...
Thank you all !