Free Support Forum - aspose.com

Doc 2 pdf- header of pdf

Hi, I'm using words.dll 5.1.0.0, pdf.dll 3.6.2.0

the header logo of pdf is not correct, please help

Regards,

Paul.

PS: I'm using the following code:

'==============================
Dim doc As New Aspose.Words.Document("c:\\blank.doc")
Dim blank_pdf As New System.IO.MemoryStream()
Dim blank_doc As New System.IO.MemoryStream()

doc.Save(blank_doc, SaveFormat.Doc)
blank_pdf = Me.ConvertDoc2Pdf(blank_doc)

Dim outBuf() As Byte = blank_pdf.GetBuffer()

Response.ClearContent()
Response.AddHeader("Report", "inline; filename=" + "a.pdf")
Response.ContentType = "application/pdf"
Response.BinaryWrite(outBuf)
Response.Flush()
Response.Close()
'==============================

Hello!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Please try the attached Aspose.Pdf assembly. This issue is already fixed but Aspose.Pdf Team haven’t released an official hotfix yet.

Regards,