L
lbd88488848
Unregistered / Unconfirmed
GUEST, unregistred user!
我使用mapobject+delphi做了一个简单的gis系统,在显示地名时我想设置显示地名的字体
....
var ft:tfont;
...
Ft:= TFont.Create;
with Ftdo
begin
Name := 'Arial';
Style:= [];
Size := 15;
color:=$FFFFFF;
end;
...
render:= IMoLabelRenderer(CreateOleObject('MapObjects2.LabelRenderer'));
...
render.Symbol[0].Font:=IFontDisp(IDispatch(FontToOleFont(Ft)));
...
系统提示:Undeclared identifier ifontdisp;
也无法使用 var i:ifontdisp;
请各位高手帮忙!!!
....
var ft:tfont;
...
Ft:= TFont.Create;
with Ftdo
begin
Name := 'Arial';
Style:= [];
Size := 15;
color:=$FFFFFF;
end;
...
render:= IMoLabelRenderer(CreateOleObject('MapObjects2.LabelRenderer'));
...
render.Symbol[0].Font:=IFontDisp(IDispatch(FontToOleFont(Ft)));
...
系统提示:Undeclared identifier ifontdisp;
也无法使用 var i:ifontdisp;
请各位高手帮忙!!!