InputField Method |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration int InputField(string Name, string Text, bool CursorWithin) Description To insert a field use is method. It expects the name of the field and the initial text. The boolean parameter controls if the cursor should be placed inside (true) or after the new field (false). Using the true you can insert multiple paragraphs or an image inside of the field.
Example: IWPTextCursor TextCursor; TextCursor = wpdllint1.Memo.TextCursor; TextCursor.InputField("NAME","This is the name field",false); Please also see Category Mailmerge and the "mail merge API introduction". |