Missing Text Field Example Text

The attached document has editable fields which all contain example text that is not showing in the rendered document. We are using GroupDocs v18.1.0 and the showcase located at GitHub - groupdocs-viewer/GroupDocs.Viewer-for-.NET-MVC-App: Outdated

02.20.2018 - Missing Text.png (30.9 KB)
Missing Text.pdf (182.3 KB)

Thanks,
Carl

@cschrader,

Thanks for using GroupDocs.Viewer and sharing your concerns with us. We are able to reproduce the issue of missing text when rendering your provided PDF document. We have logged the issue in our Issue Tracking System (with ID: VIEWERNET-1519) for further investigation. We’ll keep you informed in case of any updates.

@cschrader,

After the investigation, we have found that the missing text in the document is somehow considered as comments. Therefore, setting HtmlOptions.RenderComments property to true will solve your issue. Following is the sample code that would help you to fix the issue.

// Create html handler
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(config);

// Guid implies that unique document name 
string guid = "sample.pdf";

// Set options to render comments
HtmlOptions options = new HtmlOptions();
options.RenderComments = true; // Default value is false

// Get pages 
List<PageHtml> pages = htmlHandler.GetPages(guid, options);

Hope it helps.

Thanks Usman - that resolved the issue!

@cschrader,

You are welcome.