leidiang
路人甲
路人甲
  • 注册日期2005-07-26
  • 发帖数29
  • QQ
  • 铜币254枚
  • 威望0点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
阅读:1891回复:4

在ArcEngine里面怎么掉用在Arcmap里面做好了的填充符号??

楼主#
更多 发布于:2005-11-18 16:31
Arcmap里面做好了的填充符号,在ArcEngine里面怎么掉用,要用到什么函数,给一段代码看一看行吗??谢谢!!!
喜欢0 评分0
nmlvjun
路人甲
路人甲
  • 注册日期2004-11-18
  • 发帖数35
  • QQ
  • 铜币127枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2005-11-21 12:33
<P>顶!  我也想知道~~~~</P><img src="images/post/smile/dvbbs/em01.gif" />
举报 回复(0) 喜欢(0)     评分
yangsg
路人甲
路人甲
  • 注册日期2004-09-23
  • 发帖数83
  • QQ
  • 铜币41枚
  • 威望0点
  • 贡献值0点
  • 银元0个
2楼#
发布于:2005-11-23 15:24
<PRE><PRE><FONT size=2><FONT size=2>'Add a red to the colors in the users default style<BR>Dim pStyleGlry As IStyleGallery<BR>Set pStyleGlry = New StyleGallery<BR>Dim pStyleItem As IStyleGalleryItem<BR>Dim pRgbColor As IRgbColor<BR>Set pRgbColor = New RgbColor<BR>With pRgbColor<BR>  .Red = 255<BR>  .Green = 0<BR>  .Blue = 0<BR>End With</FONT></FONT></PRE><PRE><FONT size=2><FONT size=2>Set pStyleItem = New StyleGalleryItem<BR>pStyleItem.Name = "Red 1"<BR>pStyleItem.Category = "Default"<BR>pStyleItem.Item = pRgbColor<BR>pStyleGlry.AddItem pStyleItem</FONT></FONT></PRE><PRE> </PRE><PRE><FONT size=2><FONT size=2>'Find the first marker in the Civic.style<BR>Dim pStylePath As String<BR>'Add the Civic.style to the IStyleGalleryStorage<BR>Dim pStylStor As IStyleGalleryStorage<BR>Set pStylStor = pStyleGlry<BR>pStylePath = pStylStor.DefaultStylePath ; "Civic.style"<BR><BR>pStylStor.AddFile pStylePath</FONT></FONT></PRE><PRE><FONT size=2><FONT size=2>'Locate the first marker</FONT></FONT></PRE><PRE><FONT size=2><FONT size=2>Dim pItems As IEnumStyleGalleryItem<BR>Set pItems = pStyleGal.Items("Marker Symbols", pStylePath, "Default")<BR>pItems.Reset<BR>Dim pItem As IStyleGalleryItem<BR>Set pItem = pItems.Next<BR>MsgBox pItem.Name</PRE></PRE></FONT></FONT>
举报 回复(0) 喜欢(0)     评分
leidiang
路人甲
路人甲
  • 注册日期2005-07-26
  • 发帖数29
  • QQ
  • 铜币254枚
  • 威望0点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
3楼#
发布于:2005-11-24 01:07
<P>谢谢楼上的兄弟!!</P>
<P>这样得到的pItem是"marker symbols"是点符号吧</P>
<P>如何得到做好的面填充符号呢????</P>
<P>谢谢!!</P>
举报 回复(0) 喜欢(0)     评分
leidiang
路人甲
路人甲
  • 注册日期2005-07-26
  • 发帖数29
  • QQ
  • 铜币254枚
  • 威望0点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
4楼#
发布于:2005-11-27 17:36
<P>再顶一下,哪位大侠知道????</P>
举报 回复(0) 喜欢(0)     评分
游客

返回顶部