CurrSelObj property

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

Applies to

WPDLLInt

Declaration

IWPTextObj CurrSelObj;

Description

This interface will be null unless an object is selected. If the property is != null you can use it to manipulate and examine the selected object.

 

Load new image data into the currently selected object:

 

IWPTextObj selobj =  wpdllInt1.CurrSellObj;

if ((selobj!=null)&&

    (selobj.ObjType==TextObjTypes.wpobjImage))

{  

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

}

 


[idh_wpdllint_currselobj.htm]    Copyright © 2007 by WPCubed GmbH