Knowledgebase
Graphics - fimg function, OnImageFormat event.
Posted by - NA - on 11 March 2005 10:58 PM
Graphic image may be inserted from blob, graphic field or from external graphic file, using function fimg. For example: \fimg(a:field2)\, \fimg(a:field2,1)\.

 

Function format for blob and graphic fields is: \fimg(FieldName,[FormatIndex])\, where FieldName is name of data field. FormatIndex is number which will be passed into OnImageFormat event. This parameter is 0 by default and is not required. You may use this number in event OnImageFormat when formatting different images in report.

 

Function format for variables is the same: \fimg(VarName,[FormatIndex])\. Variable VarName must contain string with filename to be inserted in the report. For example: if variable MyPicture='c:\pictures\chart1.bmp', in the report template may be string \fimg(MyPicture)\. String constant is also allowed as argument for fimg format.

 

You may insert graphics through the user defined function.
(31 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).