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

PDF content is not visible

Thread ID:





97996 Jan 24,2011 03:32 PM UTC Jan 26,2011 04:33 AM UTC ASP.NET Web Forms (Classic) 3
Tags: PDF
Silvia Sasso
Asked On January 24, 2011 03:32 PM UTC


Syncfusion version:

I have a pdf (file1.pdf) that is produced by altsoft because is the result of conversion from a word 2003 xml file to pdf.
That is why I need another sofware, because Syncfusion does not support conversion from word 2003 xml to pdf.

I attach 3 files as example:
Hello.xml (word 2003 file), File1.pdf (Hello.xml converted into PDF by altsoft), File2.pdf (simple pdf file) and the result of merge Result.pdf.

I take File1.pdf that has 1 page with a simple text "Hello world!" and I need to merge it with another pdf file (File2.pdf) that has 2 pages.
This second file is NOT produced by altsoft.
The problem is that after merge I get a PDF file of 3 pages, page 1 and page 2 are visible and correct (because they come from File2) but page 3 does not show its content even if the string "Hello World !" is there (if you make a search in the page it founds the text correctly).
It seems font issue but I cannot find a solution or the reason why the text is not visible.

Notice that if you simply open File1.pdf content is visible.
But when you load into a Syncfusion PDFDocument or merge it, content is no more visible.
Thanks for any help!

Here is my code for merging:

Private Sub MergePDF()
Dim ResultPDFPath As String ="c:\temp\File1.pdf" ' PDF produced by altsoft (converting word 2003 ML)
Dim PDFsample As String ="c:\temp\File2.pdf" 'simple pdf used for example


'create a stream object for each file
Dim fs As New FileStream(PDFsample, FileMode.Open, FileAccess.Read, FileShare.Read)
Dim bytes(fs.Length - 1) As Byte
fs.Read(bytes, 0, bytes.Length)
Dim SampleStream As New MemoryStream(bytes)

fs = New FileStream(ResultPDFPath, FileMode.Open, FileAccess.Read, FileShare.Read)
Dim pdfbytes(fs.Length - 1) As Byte
fs.Read(pdfbytes, 0, pdfbytes.Length)
Dim PDFStream As New MemoryStream(pdfbytes)

'create an array and load stream objects
Dim streamArray(1) as System.IO.Stream
streamArray.setValue(SampleStream, 0)

'create pdf document
Dim PDFFile As New Syncfusion.Pdf.PdfDocument()

Dim i As Integer
For i = 0 To streamArray.Length - 1
Dim str As New MemoryStream
str = streamArray(i)
str.Seek(0, SeekOrigin.Begin)
'create a PdfLoadedDocument from stream
Dim LDoc As New Syncfusion.Pdf.Parsing.PdfLoadedDocument(str)
'append to pdf document

'save file
Catch ex As Exception
End Try
End Sub


Selvakumar P [Syncfusion]
Replied On January 25, 2011 10:13 AM UTC

Hi Silvia,

Thank you for using Syncfusion Products.

We are able to reproduce the issue while merging the given documents. It is under further investigation.

Could you please report this issue through Direct Trac Developer Support System https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well. If you have already reported, please ignore this.

Please let us know if you have any queries.


Silvia Sasso
Replied On January 25, 2011 10:59 AM UTC

I reported the issue through Direct Trac Developer Support System.

Silvia Sasso

Selvakumar P [Syncfusion]
Replied On January 26, 2011 04:33 AM UTC

Hi Silvia,

Thanks for the update.



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

or the page will be automatically redirected to 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