IWPTextObj CurrSelObj

[Top]  [Chapter]  [Previous]  [Next]

This is a reference to the interface to the object which is currently selected. Please note that this reference can be null. As with all the other properties listed above, this will use the editor which is currently active.

 

Example:

IWPTextObj selobj =  wpdllInt1.CurrSellObj;

if ((selobj!=null)&&                        

 (selobj.ObjType==TextObjTypes.wpobjImage))

{        

 selobj.LoadFromFile("c:\\Test.bmp");

}

 


[iwptextobjcurrsellobj.htm]    Copyright © 2007 by WPCubed GmbH