You are here: C++ Support Classes > dtSearch Namespace > Classes > DSearchResults Class > DSearchResults::MakePdfWebHighlightFile Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DSearchResults::MakePdfWebHighlightFile Method

Generates hit highlighting data for Adobe Reader

Syntax
C++
void MakePdfWebHighlightFile(DString& dest);
Parameters
Description
DString& dest
String to receive output XML

Adobe Reader has an interface for highlighting hits in a browser window, which is documented in the Adobe Acrobat SDK. The interface requires the server to provide an XML file containing information about the hits in a document. MakePdfWebHighlightFile generates the XML necessary to highlight hits in the currently-selected item in search results.See Highlighting hits in PDF files for more information on working with PDF files.