I must be missing something simple, but I'm trying to export a document the way it is on many help files:
using (Stream output = dialog.OpenFile())
PdfFormatProvider pdf = DocumentFormatProvidersManager.GetProviderByExtension("pdf") as PdfFormatProvider;
But it's not finding the Export function. The intellisense will get pdf.Import, but not Export. I'm pretty sure I have all the references, (Documents, Documents.Fixed, Documents.FormatProviders.Pdf) I get the error below.
I'm getting the error:
'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider' does not contain a definition for 'Export' and no extension method 'Export' accepting a first argument of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider' could be found (are you missing a using directive or an assembly reference?)
It also can't resovle DocxFormatProvider