Hi,
In my project I am converting HTML to PDF. HTML is having 2 images in it.
After converting to PDF, when I view the PDF, 2nd Image is splitting and going to the next page. I have this Image scaling issue.Llooking for a resolution for this issue.
I have tried to refer the below article from support and need help on this.
http://www.essentialobjects.com/doc/4/htmltopdf/image_size.aspxIn the above mentioned link, LoadImage method is used which loads the image and returns a System.Drawing.Image object as mentioned below:
protected System.Drawing.Image LoadImage(string image)
{
Stream stream =
typeof(Demo).Assembly.GetManifestResourceStream("EOPDFDemo.Images." + image);
return System.Drawing.Image.FromStream(stream);
}
I don't know how to use this above mentioned method in my project. I am not sure what this Demo should have? Please, guide me here.
Also, would be interested in knowing is there any better/easy way to solve the Image scaling/splitting to next page.
Thanks in Advance.