We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to insert image into pdf xamarin.forms android?

Thread ID:





119208 May 22,2015 04:44 AM UTC May 25,2015 05:36 AM UTC Xamarin.Forms 1
Tags: PDF
Asked On May 22, 2015 04:44 AM UTC

Hi All,

I am bit struggling for showing image on pdf in xamarin.forms android so anybody can help me out of this.


Praveenkumar H [Syncfusion]
Replied On May 25, 2015 05:36 AM UTC

Hi Dnyani,

Thank you for your interest in syncfusion products,

Currently we do only support JPEG images in Xamarin.Forms platform, Please find the code snippet to load the images from stream.

Stream imgStream = typeof(App).GetTypeInfo().Assembly.GetManifestResourceStream("Pdf.Assets.Reporting-Edition.jpg");

//Creating image from Sream using the static function called FromStream
g.DrawImage(PdfImage.FromStream(imgStream), 10, 10, 300, 170);

The sample projects is attached for your reference.

Please let us know if you need further assistance.

With Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon