CurrObj property

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

Applies to

WPDLLInt

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_wpdllint_currobj.htm]    Copyright © 2007 by WPCubed GmbH