Check
Re: Properties of a Bitmap or JPEG Thread #
318732 Message #
319179 though I'm not yet sure it's the best way to get picture properties.
>Hi,
>
>I've got a report that displays the user's logo at the top centre of the first page. The problem I have is that the user can decide what logo they are using and it must be centred.
>
>The only way I can get an image centred is if I use a control sourc etype of "general field name" and select the "center general field horizontally in frame".
>
>No other setting seems to work.
>
>Normally I just use an expression or variable name, but that doesn't allow the centring of the image.
>
>Now my problem is that I just get the file name displayed on the report, not the image being displayed. I have used this code:
>
>
CREATE CURSOR c_Logo;
>(gImage G)
>APPEND BLANK
>APPEND GENERAL gImage FROM (oAppInfo.Logo) CLASS mspaint
>
>oAppInfo.Logo contains the fullpath to the logo file.
>
>I believe I have seen this problem discussed before and it has to do with file associations, but no matter what I associate the JPG extension with I just get the file name displayed.
>
>Any ideas how to fix this?
>
>Thanks,
If it's not broken, fix it until it is.
My Blog