trichview.support
Re: metafile size changes with save and load (RVF) |
Author |
Message |
Benedikt Weber |
Posted: 09/25/2002 21:55:48 "Sergey Tkachenko" <svt@trichview.com> wrote in message news:3d920d80$1@support.torry.net... > I did not study deeply a metafile structure, but... > TMetafile has size defined in Width,Height (in pixels) and MMWidth, MMHeigh > (in 0.01 of millimeter). > These sizes can be different. This is at least a hint to start with. > It looks like Delphi TMetafile initially uses (Width,Height), but on > reloading adjusts (Width,Height) according to (MMWidth, MMHeigh). > I am afraid I can do nothing... Too bad!! > The only way to prevent it - explicitly > define image width and heigh via RichView extra item properties (RichView > does it automatically for metafiles loaded from RTF). Since I found nothing in the help about "extra item properties" I looked in the source code and found several places of *ItemExtraIntProperty* but this brings me nowhere, since I do not see the philosopy behind and I am not a Pascal programmer (but C++). I will try to set the the size of the Metafile pictures by the programm. Since they are created by the program I can figure out the correct size. Thanks for your support. Benedikt > PS: please send large files to my by e-mail, packaged in zip. Do not post > large attachments in the newsgroup. Sorry, next time! |
Powered by ABC Amber Outlook Express Converter