Print Image on PDF

We are not able to print Image on PDF. We tried to change field name of the image on pdf file. But still we are not able to print Image on PDF file through C#.net code.

Following is the code for printing image on PDF:

Stream stream1 = GetLogoForFlyer(carnivalSite.Url, fileNameForLogo1, agentLogoID);

form2.FillImageField("topmostSubform[0].Page1[0].AgentLogo[0]", stream1);

Thanks in Advance.


Hello Kalpana,

Thanks for using our products and sorry for replying you late.

Can you please share the source PDF document so that we can test the scenario at our end. We apologize for your inconvenience.

Hello Kalpana,

Adding more to my previous comments, I have tested the scenario while using a simple PDF document with one Push Button control and have tried filling it with Image file and as per my observations using Aspose.Pdf.Kit 5.5.0, the image is properly being applied.