Hi,
here is my sample console app:
using
System.IO;
using
Telerik.Windows.Documents.FormatProviders.Pdf;
using
Telerik.Windows.Documents.Model;
namespace
PdfExportTest
{
class
Program
{
static
void
Main(
string
[] args)
{
RadDocument doc =
new
RadDocument();
RadDocumentEditor editor =
new
RadDocumentEditor(doc);
Section section =
new
Section();
doc.Sections.Add(section);
editor.Document.CaretPosition.MoveToStartOfDocumentElement(section);
editor.InsertLine(
"TEST"
);
var provider =
new
PdfFormatProvider();
using
(Stream stream =
new
FileStream(@
"C:\\temp\\test.pdf"
, FileMode.Create))
{
provider.Export(doc, stream);
}
}
}
}
When use search option to find "TEST", Adobe Reader shows it couldn't find any matching words.
Is it known issue that Adobe Reader can't find words in exported documents?
Thanks.