PDF is TfrxOLEView
Please , I want too explime how can i do to use the function frxOleView to load pdf files
(the only way to use PDF is TfrxOLEView objec)
Example:
procedure TForm2.Button1Click(Sender: TObject);
begin
TfrxOLEView(frxReport1.FindObject('OLE1')).OleContainer.CreateObjectFromFile('C:\test.pdf', False);
FrxReport1.showreport;
end;
I only see an empty leaf
Thank you
Ivan Davila
System Zurita el original
Ecuator
(the only way to use PDF is TfrxOLEView objec)
Example:
procedure TForm2.Button1Click(Sender: TObject);
begin
TfrxOLEView(frxReport1.FindObject('OLE1')).OleContainer.CreateObjectFromFile('C:\test.pdf', False);
FrxReport1.showreport;
end;
I only see an empty leaf
Thank you
Ivan Davila
System Zurita el original
Ecuator
Comments
TfrxOLEView(frxReport1.FindObject('OLE1')).OleContainer.CreateObjectFromFile('C:\test.pdf', False);
code works OK for me