at time I try/use the PDF Creator .NET Developer version 3.0 ActiveX-Com and DLL as trial version!
The last feature I need is the "ExportToJPEG"-Method from the "IacDocument" Object. But the Method does not work. .... I think!
I try to use the method with various parameters and PDF files, but the result is always "False".
This is the last code-snippet from my program.
Code: Select all
System.IO.FileStream file1 = new System.IO.FileStream( "Dokument_V01.pdf", FileMode.Open, FileAccess.Read, FileShare.Read );
this.pdfCreator1.Document.Open( file1, "" );
this.pdfCreator1.Document.OptimizeDocument( 0 );
bool res= this.pdfCreator1.Document.ExportToJPeg( "dokument.jpg", 300, 7 );
MessageBox.Show( res.ToString() );
If you need any further information ... ask .
regards
Maurice
PS: Sry for my "I think" bad english .... I hope you understand what I need and mean!