TX Text Control ActiveX

Images, Text Frames, Signature Fields and OLE Objects

Topic

Images, text frames, signature fields and OLE objects share one set of Object members in TXTextControl: the same properties position, size, scale and name them, whichever kind they are. Each kind has its own methods to insert it anchored to a paragraph, as a character or at a fixed position.

Further properties control how images are displayed, filtered and exported and how text frames look. The events report when an object is created, clicked, double-clicked, right-clicked, moved, sized, deleted, zoomed, printed, scrolled out of view, loaded or saved, and when a text frame is activated or deactivated.

Properties

MemberDescription
TXTextControl.ImageDisplayModeProvides several modes to set the way in which images are displayed or refreshed.
TXTextControl.ImageExportCompressionQualityDetermines a value between 1 and 100, which is the quality of a lossy data compression used, if the image is saved.
TXTextControl.ImageExportFilenameDetermines the file name of an image or signature field used if a document is saved.
TXTextControl.ImageExportFiltersThis property returns a string which specifies the available filters for exporting images.
TXTextControl.ImageExportFormatDetermines the format used if an image is saved.
TXTextControl.ImageExportMaxResolutionDetermines the maximum resolution in dots per inch used, if the image is saved.
TXTextControl.ImageFilenameDetermines the image file name of an inserted image or signature field.
TXTextControl.ImageFiltersThis property returns a string which specifies the available image filters.
TXTextControl.ImageSaveModeDetermines whether the image is stored through its data or through its file reference.
TXTextControl.ObjectCurrentReturns or sets the current object for setting properties of images, text frames, signature fields or OLE objects.
TXTextControl.ObjectDescriptiveTextDefines a descriptive text for an image, text frame, signature field or OLE object.
TXTextControl.ObjectDistanceSpecifies the distance (in twips) between an image, text frame, signature field or OLE object and the text that flows around it.
TXTextControl.ObjectHeightReturns or sets the natural height, in twips, of an image, text frame, signature field or OLE object.
TXTextControl.ObjectInsertionModeGets or sets an image's, text frame's, signature field's or OLE object's formatting behavior.
TXTextControl.ObjectItemReturns a reference to an OLE object.
TXTextControl.ObjectNameDefines a name for an image, text frame, signature field or OLE object.
TXTextControl.ObjectPosXGets or sets the image's, text frame's, signature field's or OLE object's horizontal position, in twips.
TXTextControl.ObjectPosYGets or sets the image's, text frame's, signature field's or OLE object's vertical position, in twips.
TXTextControl.ObjectScaleXSpecifies the object's horizontal scaling factor as a percentage.
TXTextControl.ObjectScaleYSpecifies the object's vertical scaling factor as a percentage.
TXTextControl.ObjectSizeModeSpecifies whether an inserted image, text frame, signature field or OLE object can be moved or resized at run time.
TXTextControl.ObjectTextflowGets or sets a value in which way text flows around an image, text frame, signature field or OLE object.
TXTextControl.ObjectTransparencySpecifies the object's transparency.
TXTextControl.ObjectUserIdDefines a user-defined identifier for an image, text frame, signature field or OLE object.
TXTextControl.ObjectWidthReturns or sets the natural width, in twips, of an image, text frame, signature field or OLE object.
TXTextControl.SignatureFieldSignerDataDefines info data of a suggested signer.
TXTextControl.TextFrameBackColorReturns or sets the background color of a text frame.
TXTextControl.TextFrameBorderWidthSpecifies the width, in twips, of a text frame's border line.
TXTextControl.TextFrameInternalMarginSpecifies the distance (in twips) between a text frame's border line and the text.
TXTextControl.TextFrameMarkerLinesThis property determines whether or not marker lines for text frames are visible.

Methods

MemberDescription
TXTextControl.ImageInsertThis method inserts a new image anchored to a paragraph.
TXTextControl.ImageInsertAsCharThis method inserts a new image which is then handled like a single character in the text.
TXTextControl.ImageInsertFixedThis method inserts a new image at a fixed geometrical position.
TXTextControl.ObjectAttrDialogThis method invokes the built-in dialog box for setting attributes of images, text frames and OLE objects.
TXTextControl.ObjectChangeZOrderChanges the z-order of an image, text frame, signature field or OLE object.
TXTextControl.ObjectDeleteThis method deletes an image, text frame, signature field or OLE object.
TXTextControl.ObjectGetFromNameLooks for the object with the specified name.
TXTextControl.ObjectGetFromUserIdLooks for the object with the specified user identifier.
TXTextControl.ObjectGetSelectedThis method returns the identifier of the currently selected object.
TXTextControl.ObjectInsertThis method inserts a new OLE object or other control anchored to a paragraph.
TXTextControl.ObjectInsertAsCharThis method inserts a new OLE object or other control which is then handled like a single character in the text.
TXTextControl.ObjectInsertFixedThis method inserts a new OLE object or other control at a fixed geometrical position.
TXTextControl.ObjectNextThis method returns the identifier of the object that follows the specified object in a TXTextControl's internal list of objects.
TXTextControl.SignatureFieldInsertThis method inserts a new signature field anchored to a paragraph.
TXTextControl.SignatureFieldInsertAsCharThis method inserts a new signature field, which is then handled as a single character in the text.
TXTextControl.SignatureFieldInsertFixedThis method inserts a new signature field at a fixed geometrical position.
TXTextControl.TextFrameInsertThis method inserts a new text frame anchored to a paragraph.
TXTextControl.TextFrameInsertAsCharThis method inserts a new text frame, which is then handled as a single character in the text.
TXTextControl.TextFrameInsertFixedThis method inserts a new text frame at a fixed geometrical position.
TXTextControl.TextFrameSelectThis method determines whether a certain TXTextControl property or method manipulates a text frame or the main text.

Events

MemberDescription
TXTextControl.ObjectClickedOccurs when an object has been clicked on.
TXTextControl.ObjectCreatedThis event specifies that a new object has been created.
TXTextControl.ObjectDblClickedOccurs when an object has been double-clicked on.
TXTextControl.ObjectDeletedOccurs when an object has been deleted.
TXTextControl.ObjectGetDataOccurs when a document which contains objects, is saved.
TXTextControl.ObjectGethWndOccurs when a document which contains objects, is loaded.
TXTextControl.ObjectGetZoomOccurs when an object's zoom factor is requested.
TXTextControl.ObjectMovedOccurs if an image, text frame, signature field or OLE object has been moved with the built-in mouse interface.
TXTextControl.ObjectPrintOccurs when a document containing objects is printed.
TXTextControl.ObjectRightClickedOccurs when an object has been clicked on with the right mouse button.
TXTextControl.ObjectScrollOutOccurs when an object is scrolled out of the visible area.
TXTextControl.ObjectSetDataOccurs when a document which contains objects, is loaded.
TXTextControl.ObjectSetZoomOccurs when an object's zoom factor is to be changed.
TXTextControl.ObjectSizedOccurs if an image, text frame, signature field or OLE object has been resized with the built-in mouse interface.
TXTextControl.TextFrameActivatedOccurs when a text frame has obtained the input focus.
TXTextControl.TextFrameDeactivatedOccurs when a text frame has lost the input focus.