How am I able to print the loaded PDF with the Function pdfPrintW?
My Code:
TfrmMain = class(TForm)
PDF: TWPViewPDF;
……
function pdfPrintW(filename: PWideChar; password: PWideChar;
licname, lickey: PWideChar; liccode: Cardinal;
options: PWideChar;
data: Pointer; datalen: Integer): Integer; stdcall;
external 'wPDFViewPlus04.dll' name 'pdfPrintW';
pdfPrintW('','',
PWideChar(WPViewPDF_LicName),
PWideChar(WPViewPDF_LicKey),
WPViewPDF_LicCode,
PWideChar(sOption),
PDF,100000);
I get an exception with "Unknown file Format" !
Is there a Delphi-sample?
Best regards
Bernd