irobot
路人甲
路人甲
  • 注册日期2004-09-21
  • 发帖数6
  • QQ
  • 铜币138枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1156回复:1

谁用过SizeAndPositionPropertyPage属性页啊?请教一个问题

楼主#
更多 发布于:2004-10-24 21:45
<P>       想编一个和ArcMap PageLayoutView 一样的双击Text Element,弹出属性页进行编辑和设置的功能,但在添加SizeAndPositionPropertyPage的时候老是说我未将对象引用设置到对象实例(我用的c#)。代码如下:</P>
<P>  ISet pSet = new SetClass();</P>
<P>  pSet.Add( pTextElement );</P>
<P>  IComPropertySheet pCPS = new ComPropertySheetClass();</P>
<P>  SizeAndPositionPropertyPage pProp = new SizeAndPositionPropertyPageClass();</P>
<P>  pCPS.AddPage( pProp );</P>
<P>  pCPS.EditProperties( pSet,0 );</P>
<P>  哪位大侠知道问题出在哪里啊?亿万分的感谢!!!!</P>
<P>      </P>
<P>       </P>
喜欢0 评分0
irobot
路人甲
路人甲
  • 注册日期2004-09-21
  • 发帖数6
  • QQ
  • 铜币138枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2004-10-25 17:22
怎么没人回答阿?自己up一下
举报 回复(0) 喜欢(0)     评分
游客

返回顶部