Home > Back-end >  FastReprot image loading problem
FastReprot image loading problem

Time:09-30

My FASTREPORT loading path error:

As shown in figure

The code is as follows:

Procedure Picture1OnBeforePrint (Sender: TfrxComponent);
Var
Path: the string;
The begin
//myMemo:=TfrxMemoView (frxReport1 FindObject (' Memo1 '));
Path:=& lt; HnHubBoxTagPrintListEntity. "t1" & gt;;
//TfrxMemoView (Report. The FindObject (' Memo10 ')). The memo. Text:=& lt; HnHubBoxTagPrintEntity. "model" & gt; + '22';
//Picture1. Picture. LoadFromFile (path);

TfrxPictureView (Report. The FindObject (' Picture1 ')). The Picture. The LoadFromFile (path);
end;



The begin

End.

If path is written death is not an error, but if is dynamic parameters has been an error, wait for a great god answers

CodePudding user response:

An error means: unknown extension. PNG

CodePudding user response:

Estimation is fastreport does not support the PNG format images

CodePudding user response:

Send pictures in the form of a flow
  • Related