Using PIC command you can insert a picture into your report. Pic refers a picture file such as bmp, jpg, gif, etc.
Syntax:
PIC=X1,[Y1],[X2],[Y2] [,link]
X1 and Y1 are values (expressed in twips) of the left/top corner of the image. X2 and Y2 define the lenght and width of the
image (not the last point).
X1 and/or Y1 are optional values. In case that one or both are omitted Rpv will place the picture according the current horizontal and vertical positions.
From Rpv Reports 5.1, X2 and Y2 are optional values. In case that they are not defined, Rpv will calculate the value of the unspecified parameter to mantain
the proportions of the picture. In case that X2 and Y2 are not specified, the image will be shown/printed using its original size.
Last parameter (link) refers to an EXE file, a file that is properly associated to an existing application or to an RpvCmd command. In case that a link is defined, the entire picture will act as a link and, clicking on it Rpv will execute it.
Example:
{pic=c:\pictures\file.bmp,$a,,1000,1000,http://www.rpvsoftware.com/}
{pic=c:\pictures\file.bmp,$a,,1000,1000,RpvCmdViewPic}
As you can see the value Y1 is optional. If you decide to ommit it, the value Y1 will be the current Y value for the report.
See also:
Special configurations
RpvCmdViewPic
ViewPics.exe utility
|