CurrObj Property

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

Declaration

IWPTextObj CurrObj;

Description

This is the interface to the object interface of the current object. The current object is the object which has been inserted last.

This C# code inserts a horizontal line and then changes it's color to red.

 

wpdllInt1.TextCursor.InputObject(TextObjTypes.wpobjHorizontalLine,"","",0);

IWPTextObj obj = wpdllInt1.CurrObj;

if(obj!=null)

 obj.IntParam = wpdllInt1.ToRGB(Color.Red);


[idh_iwpmemo_currobj.htm]    Copyright © 2007 by WPCubed GmbH