IWPTextObj Interface

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

Change field, object and image properties


The interface IWPTextObject allows it to load the text of mail merge fields, to position image objects, to select text and move the cursor.


It is a low level interface which is usually not required to create text.


But to manipulate the object which is currently selected CurrSelObj or to check objects inside an event (OnEnumTxtObj) it can be very useful.


The property EmbeddedText allows it to read and modify the text within paired objects, such as hyperlinks, bookmarks and mail merge fields.


TextDynamic 7 and RTF2PDF 4: The "Ptr" methods now require the paragraph ID to be IntPtr to make the API compatible to 64 bit.








[idh_interface_iwptextobj.htm]    Copyright © 2007 by WPCubed GmbH