ContinueOptions Method

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

Applies to

IWPFieldContents

Declaration

procedure ContinueOptions(OptionBits: Integer);

Description

This method is used to add flags which change the way the inserted text (or the insertion itself) is performed for this field.

 

You can use the following bit values:

1: The paragraph attributes of the inserted text will be overridden with the attributes of the paragraph the field is located within.

2: The character attributes of the inserted text will be overridden with the character attributes of the field object.

4: Do not load font information from the inserted RTF text.

8: Do not load font size information from the inserted RTF text.

16: Do not load font style information (bold, italic, underline) from the inserted RTF text.

32: Do not load tabs - use current tabs.

64: Do not load paragraph styles - use current style.

 

Usually the loaded text will use the current paragraph attributes for its first paragraph. The following bits change this behaviour:

128: Overwrite current paragraph attributes with attributes from first loaded paragraph.

256: If merge field is at start of paragraph overwrite current paragraph attributes with attributes from the first new paragraph.

 

Note

This method will add flags but will not remove flags which have been set before. The flags are only used for the current field and then set to 0.

Category

Mailmerge


[idh_iwpfieldcontents_continueoptions.htm]    Copyright © 2007 by WPCubed GmbH