kinkikid2002
路人甲
路人甲
  • 注册日期2006-05-08
  • 发帖数9
  • QQ
  • 铜币147枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1572回复:2

哪个高手给个PageLayoutContro添加legend的例子啊

楼主#
更多 发布于:2006-07-03 15:35
先谢过了~~~
喜欢0 评分0
kinkikid2002
路人甲
路人甲
  • 注册日期2006-05-08
  • 发帖数9
  • QQ
  • 铜币147枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2006-07-04 11:18
<P>   If a = 3 Then       '添加图片<BR>    Dim pGraphics3 As IGraphicsContainer, pPagelayout3 As IPageLayout<BR>    Dim pElement3 As IElement<BR>    Dim pPicElem As IPictureElement2<BR>    Dim pPoint3 As IPoint<BR>    Dim pEnvelope As IEnvelope</P>
<P>    <BR>     Set pGraphics3 = PageLayoutControl1.GraphicsContainer<BR>     Set pPoint3 = New Point</P>
<P>     pPoint3.x = pageX<BR>     pPoint3.y = pageY</P>
<P>    Set pPicElem = New JpgPictureElement<BR>    pPicElem.ImportPictureFromFile "d:\my.jpg"<BR>'    (gFile)<BR>    <BR>    <BR>    Set pElement3 = pPicElem<BR>'    pElement3.Geometry = pPoint3<BR>    <BR>    pElement3.Geometry = pEnvelope<BR>    pGraphics3.AddElement pElement1, 0<BR>    <BR>    PageLayoutControl1.Refresh<BR>    End If</P>

<P>帮我看看哦  </P><img src="images/post/smile/dvbbs/em02.gif" /><img src="images/post/smile/dvbbs/em02.gif" />
举报 回复(0) 喜欢(0)     评分
liang9907
路人甲
路人甲
  • 注册日期2006-02-28
  • 发帖数41
  • QQ
  • 铜币95枚
  • 威望0点
  • 贡献值0点
  • 银元0个
2楼#
发布于:2006-07-04 13:46
<P>帮顶</P>
举报 回复(0) 喜欢(0)     评分
游客

返回顶部