Sales
1-888-9DOTNET
|
Images can be inserted into a PDF document by using the DrawImage method of the IPDFGraphics class. The same images can be inserted in different sizes by setting the size of the image while drawing. C# //Draw image with different sizes pdfDoc.LastPage.Graphics.DrawImage(new PointF(10,30),"Winter.jpg",new Size(150,100)); VB 'Draw image with different sizes pdfDoc.LastPage.Graphics.DrawImage(New PointF(10, 30),"Winter.jpg", New SizeF(150, 100)) Sample: http://websamples.syncfusion.com/samples/KB/PDF.Windows/PImages/main.htmNote: This will work only with PDF.Legacy.Base |