C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

unknown document type error in PDFExporter

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 4
dimsum Posted: Fri, Jan 9 2009 5:41 PM

Hi!

I am trying to export to PDF using the PdfExporter and get an "unknown document type error".

FixedDocumentSequence fds = (FixedDocumentSequence)c1DocumentViewer.Document;
PdfExporter pdfexporter = new PdfExporter();
pdfexporter.Document = fds;
pdfexporter.Export("c:\\export\\test2.pdf"); <- Error

Any help?

Top 10 Contributor
Posts 1,394
C1_Dima replied on Wed, May 13 2009 12:02 AM
You should assign the original C1PrintDocument to the exporter's Document.
Cheers, Dima.
Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.