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

Applies to



bool ObjCommand( int ID,  int param,string StrParam);


Currently this commands are defined:


0 : Move cursor to this object

1 : Move cursor to the start tag

2 : Move Cursor to end tag

3 : (new in TD7) Compresses the image. If param<>0 metafiles will be converted into bitmaps.

    StrParam may be "JPG" or "PNG"

4: Set the objects "extra" parameter. That is a list of properties handled as a comma separated list. i.e. hyperlinks can store the "rel" parameter here, "rel=nofollow"


The Result is TRUE if the operation was successful.

[iwptextobj_objcommand.htm]    Copyright © 2007 by WPCubed GmbH