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 not displaying all characters

Thread ID:





52280 Nov 24,2006 11:54 AM UTC Nov 28,2006 04:25 PM UTC WinForms 4
Tags: PDF
Administrator [Syncfusion]
Asked On November 24, 2006 11:54 AM UTC


I have code to create a PDF from a word document, adding an image at the top of the page. However, I noticed it is not displaying any apostrophe (') characters, instead replacing them with a blank space. I have stepped through the code several times, and the apostrophes are definitely present in the string that is passed into the PDF creation method. I cannot work out why they do not get displayed on the actual PDF.
I have attached my code as well as the Word Doc I have been using, any help gratefully appreciated!



Administrator [Syncfusion]
Replied On November 24, 2006 07:46 PM UTC

Hi Mat,

We do have support for display the text with apostrophe. I tried testing the sample to display the text with apostrophe it is working fine. Could you please refer the following sample it will fulfill your needs.

Here is the sample for your reference.

Could you please take a look at this and let me if the problem still exists.


Administrator [Syncfusion]
Replied On November 27, 2006 09:27 AM UTC

Hi Prakash,

thanks for your reply.
I have checked the sample, and the apostrophe's appear correctly. However, I checked my app again, and they still do not appear. I hard-coded a string with lots of apostrophes in it and added to te PDF creation process, which works fine. But the apostrophe's in the Word document I am loading into the PDF, still do not appear.


Administrator [Syncfusion]
Replied On November 27, 2006 12:45 PM UTC

Hi again, I'm not sure how clear I had been about what I need (and am trying) to do. I need to create a Windows app that allows the user to select a Word document and an image file, to create a PDF report from. The image is the company logo, the Word document contains the report contents.
The sample you sent me displays the Word document fine, including the apostrophe's that caused the original problem. However, I cannot add any sections to the PDFDocument after loading the XML version of the Word document into it. This means I cannot attach the image, and the whole point of the app is that the image will not be part of the Word document. I tried merging two PDF documents, one containing the image, the other containing the Word doc content, but it assigned one page to the image, and another to the text content. Is there any way of changing this? Or, preferably, any way of adding sections to the PDFLogicDocument after I have opened the XML version of the word document using
PDFLogicDocument myPDF = new PDFLogicDocument();

Thanks, Mat

Administrator [Syncfusion]
Replied On November 28, 2006 04:25 PM UTC

Hi Mat,

I have created the sample with select the contents from the word file and add the image at the top of the document. In my sample, first I have created two separate PDF documents that is
one with image file and another one with word document file.

Then I am adding template of first document and then overlap the first document with the second document’s template.

Could you please refer the following program.

Could you please take a look at this and let me know if the problem still exists.



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