TXTextControl.ObjectCurrent Property

Returns or sets the current object for setting properties of images, text frames, signature fields or OLE objects. The ImageInsert, ImageInsertAsChar, ImageInsertFixed, ObjectInsert, ObjectInsertAsChar, ObjectInsertFixed, TextFrameInsert, TextFrameInsertAsChar, TextFrameInsertFixed, SignatureFieldInsert, SignatureFieldInsertAsChar, and SignatureFieldInsertFixed methods set this property internally to the newly inserted object. This property is also automatically changed when an object is clicked.

Syntax

TXTextControl.ObjectCurrent [= ObjectId]

Data Types

Integer.

Limitations

Run time only.

See Also