Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.10.21;
Скачать: CL | DM;

Вниз

Сохранение в emf   Найти похожие ветки 

 
Jimmy   (2007-09-23 12:22) [0]

Как сохранить векторное изображение в emf-файл?
Var ImMetaFile  : TMetaFile;
ImMetaFile.SaveToFile("1.wmf");
Так я сохраняю его в wmf. Если написать
ImMetaFile.SaveToFile("1.emf");
будет создан emf-файл? И можно ли в двух словах сказать чем отличаются эти два формата?


 
Lacmus ©   (2007-09-23 16:12) [1]

TMetafile.Enhanced Property

Description
Use Enhanced to determine how the metafile is stored on disk. If Enhanced is true, the metafile is stored as an .EMF (Win32 Enhanced Metafile). If Enhanced is false, the metafile is stored as a .WMF (Windows 3.1 Metafile, with Aldus header).

The in-memory format is always EMF. WMF has very limited capabilities; storing as WMF will lose information that would be retained by EMF. This property is set to match the metafile type when loaded from a stream or file. If loaded as WMF, then save as WMF.


 
Jimmy   (2007-09-23 16:32) [2]

Спасибо! А почему эллипс, повернутый с помощью SetWorldTransform, в wmf сохраняется нормально, а в emf - некорректно (не повернутый)?


 
Lacmus ©   (2007-09-23 16:40) [3]

EnumEnhMetaFile


 
Jimmy   (2007-09-23 18:24) [4]

Пожалуйста, поподробнее!


 
Jimmy   (2007-09-23 21:35) [5]

Большая просьба: поясните что значит ответ "EnumEnhMetaFile"!


 
Lacmus ©   (2007-09-23 22:31) [6]

Попробуйте использовать функцию EnumEnhMetaFile для ответа на свой вопрос, описание функции здесь http://msdn2.microsoft.com/en-us/library/ms534474.aspx



Страницы: 1 вся ветка

Текущий архив: 2007.10.21;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.024 c
2-1190806117
F@T@L_Err0r
2007-09-26 15:28
2007.10.21
Связка


6-1171997469
Roman777
2007-02-20 21:51
2007.10.21
Автоматическая авторизация


1-1186488804
tytus
2007-08-07 16:13
2007.10.21
FastReport 4.1.8 как выбрать кисть для MemoView?


15-1190158063
Riply
2007-09-19 03:27
2007.10.21
Монитор и зрение


2-1190878907
Makavelli
2007-09-27 11:41
2007.10.21
Помогите