Hi
I have a website that has dynamic images. by that i mean that the web page has place holders and the images are streamed into the placeholders from the database.
How do I stream these images into to the PDF.
Code:
Response.ContentType = "image/jpeg"
Response.BinaryWrite(dataSet.Tables(0).Rows(0).Item(0))
PDF Code:
Response.Clear()
Response.Filter = New PrinceFilter(princeConverter, Response.Filter)
Response.AddHeader("Content-Type", "application/pdf")
Response.Flush()
The problem is that I cannot change the header as I have already written the images to the page on a post back.
Brendan
I have a website that has dynamic images. by that i mean that the web page has place holders and the images are streamed into the placeholders from the database.
How do I stream these images into to the PDF.
Code:
Response.ContentType = "image/jpeg"
Response.BinaryWrite(dataSet.Tables(0).Rows(0).Item(0))
PDF Code:
Response.Clear()
Response.Filter = New PrinceFilter(princeConverter, Response.Filter)
Response.AddHeader("Content-Type", "application/pdf")
Response.Flush()
The problem is that I cannot change the header as I have already written the images to the page on a post back.
Brendan