Hi,
I am trying to export grid data to PDF, i am using header option by using PdfHeaderFooterContent.
List<PdfHeaderFooterContent> HeaderContent = new List<PdfHeaderFooterContent>
{
new PdfHeaderFooterContent() { Type = ContentType.Image, Src =imageData , Position = new PdfPosition() { X = 40, Y = 10 }, Size = new PdfSize() { Height = 100, Width = 250 } }
};
Src =imageData, data needed to be in string format.
For my project need keeping image dynamic will help. Is there a option where i can use image URL as source?
eg:
i want to get something like this
List<PdfHeaderFooterContent> HeaderContent = new List<PdfHeaderFooterContent>
{
new PdfHeaderFooterContent() { Type = ContentType.Image, Src ="http://www.quranmiracles.com/wp-content/uploads/2011/03/190218-mount-full-1440x810-1-800x500.jpg", Position = new PdfPosition() { X = 40, Y = 10 }, Size = new PdfSize() { Height = 100, Width = 250 } }
};