Hi everybody...i am trying to covert to pdf from a component that i have to draw...
I am exporting some shapes to a png picture file and after trying to importing into the pdf file....but the images are non transparent!!!
How can i get it??
The pictures files are png and are transparents!!!
I am using this:
Code:
document = new PdfDocument();
page = document.AddPage();
XGraphics gfx = XGraphics.FromPdfPage(page, XGraphicsPdfPageOptions.Append);
XImage image = XImage.FromFile(path);
gfx.DrawImage(image, new XRect(posx, posy, posw, posh));
Thanks