I am trying to create a standard document viewer for a richtextbox so that i can load files stored in my database and load them dynamically into my control
These documents are limited to pdf/word/images.
For an image i load it into a imageeditor fine.
For documents i get unsupported errors when using provider.Import ();
Running
DocumentFormatProvidersManager.GetSupportedExtensions();
only gives me txt and pdf.
These documents are limited to pdf/word/images.
For an image i load it into a imageeditor fine.
For documents i get unsupported errors when using provider.Import ();
Running
DocumentFormatProvidersManager.GetSupportedExtensions();
only gives me txt and pdf.
IDocumentFormatProvider provider = new PdfFormatProvider();
if (provider != null)
{
doc = provider.Import(stream);
}
Copying the telerik examples gives me the same problems. Any examples of opening pdf/word documents into a RadDocument for a RichText control ?