我正在使用德尔福 XE3。我尝试使用以下代码打开一个 WMF 文件:
var
Picture: TPicture;
begin
Picture := TPicture.Create();
Picture.LoadFromFile('E:\temp\thumbnail.wmf');
Picture.Free;
end;
但我总是会得到无效的图形异常。我尝试用ACDSee等其他工具打开wmf文件,确认镜像完成OK。为什么Delphi打不开。我尝试了不同版本的 Delphi,但都失败了。
wmf 文件可以在https://www.dropbox.com/s/wcqdma42xlra07p/thumbnail.wmf?dl=0下载
谢谢