TXTextControl.ObjectInsertionMode Property

Gets or sets an image's, text frame's, signature field's or OLE object's formatting behaviour. The property's value must be a member of the ObjectInsertionModeConstants enumeration. The ObjectCurrent property determines the object.

Introduced: 15.1.

Syntax

TXTextControl.ObjectInsertionMode [= value]
Value Description
txAsCharacter (1)

The image, text frame, signature field or OLE object is treated in the text like a single character. Objects with this behaviour can be inserted with the ImageInsertAsChar, TextFrameInsertAsChar or ObjectInsertAsChar method.

txAnchoredToParagraph (2)

The image, text frame, signature field or OLE object is anchored to a paragraph, which means that it is moved with the paragraph it is anchored to. Text can either flow around or is continued below the object depending on the ObjectTextflow property. Objects with this behaviour can be inserted with the ImageInsert, TextFrameInsert or ObjectInsert method.

txFixedOnPage (3)

The image, text frame, signature field or OLE object is positioned at a fixed geometric position of the document. Text can either flow around or is continued below the object depending on the ObjectTextflow property. Objects with this behaviour can be inserted with the ImageInsertFixed, TextFrameInsertFixed or ObjectInsertFixed method.

Data Types

Integer.

Limitations

Run time only.

See Also