I bougth a plugin for IE, add module to uses and line as bellow to the Form Create:
---------------------------------------
if TIEWPCubedPDF.Initialize then
begin
TIEWPCubedPDF.RegisterPlugin;
PDFPluginInitialized:= TIEWPCubedPDF.IsAvailable();
end;
---------------------------------------
PDFPluginInitialized is finally true, but when I try to load a pdf file to the ImageENMView:
-------------------------------------------
if OpenDialog1.Execute then
begin
ImageEnMView1.Clear;
ImageEnMView1.MIO.LoadFromFilePDF( OpenDialog1.FileName );
if ImageEnMView1.ImageCount>0 then
begin
ImageEnMView1.SelectedImage := 0;
ImageEnMView1.CopyToIEBitmap( ImageEnMView1.SelectedImage, ImageEnView1.IEBitmap );
ImageEnView1.Update();
end;
end;
I got an exception: "Unexpected parameters for pdfMakeImageExt".
Do You suggest what I made wrong?
Piotr Murawski