指北针符号是什么类型,转换成ISymbol类型为null

IEnumStyleGalleryItem pEnumStyleGalleryItem = pStyleGallery.Items[“North Arrows”, "", ""];
IStyleGalleryItem pStyleGalleryItem = null;
while ((pStyleGalleryItem = pEnumStyleGalleryItem.Next()) != null)
 {
      var symbol= pStyleGalleryItem.Item as ISymbol;//类型转换后符号为null
}
已邀请:

朱新颖

赞同来自: 陈晨 PLJ2

试试IMarkerNorthArrow

V仔

赞同来自:

stylegallery里面保存的MapSurround对象

要回复问题请先登录注册