|
阅读:1157回复:1
谁用过SizeAndPositionPropertyPage属性页啊?请教一个问题
<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> |
|
|
1楼#
发布于:2004-10-25 17:22
怎么没人回答阿?自己up一下
|
|