Ive been using
to create a mini preview of my PDF pages using DynaPDFMBS
When the page is portrait, it works
When the page is landscape, (done by using call pdf.SetOrientationEx(90) )
I get a landscape shaped image, but only a portion of the page rendered, centred in the area.
So I lose some of the image
my code is:
myimage = pdf.RenderPagePicture(pdf.getpagecount , pdf.GetPageWidth /2 , pdf.GetPageHeight/2 ,2)
There are no parameters I can throw at this.
Am I doing something wrong… how do I get a preview of a PDF page which is at landscape mode.?