VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345[6]78910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 06:37:48 04/22/02 Mon
Author: Michel
Subject: Re: Saving a List of MetaFiles as TIFF
In reply to: Ralph 's message, "Re: Saving a List of MetaFiles as TIFF" on 07:04:51 04/19/02 Fri


Hi Ralph,

TiffGraphic.Assign(Metafile) should work. It does something similar to the code in the original post by using the canvas to copy the image. Your problem may be with the background as you mention. Download the beta version 2, where the TMetaFileGraphic has a BackgroundColor property which you can set before loading the meta file.

Best regards,

Michel

>Hi Michel,
>
>there is no TMetaFile.AssignTo in Delphi4 - I tried
>TiffGraphic.Assign(MetaFile) instead... and all I get
>is a black TIFF.
>
>Do I still have to fill the TiffGraphic.Canvas with
>White before assigning the MetaFile? If I have to, I
>need to know the dimensions in order to perform the
>Canvas.FillRect... where do I get them from?
>
>How would you code all that? Or seems the code in the
>first message to be ok?
>
>Ralph

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.