AE开发:如何设置图层符号

来源:互联网 发布:sketch 46 破解版 mac 编辑:程序博客网 时间:2024/04/30 02:07
在代码中你要设置characterMarkerSymbol的Font, Font的名字要跟你在Symbol Property Editor UI上所选的Font名字一致。

stdole.IFontDisp stdFont = new stdole.StdFontClass() as stdole.IFontDisp; // Dynamic Cast
stdFont.Name = [color=red]"ESRI Default Marker";[/color]
characterMarkerSymbol.Font = stdFont;
哦对了,选对了Font以后,unicode是不用转换的,它的值就是CharacterIndex的值啦~
0 0
原创粉丝点击