TXTextControl.SignatureFieldInsertAsChar Method

This method inserts a new signature field, which is then handled as a single character in the text.

Introduced: 31.0.

Syntax

TXTextControl.SignatureFieldInsertAsChar TextPos, Width, Height
Parameter Description
TextPos

Specifies a text position where the signature field should be inserted. If TextPos is -1, the signature field is inserted at the current input position.

Width

Specifies the width of the signature field in twips. If this parameter is set to zero, a built-in mouse interface is started which enables the end-user to define the size of the signature field through a rectangle, drawn with the mouse.

Height

Specifies the height of the signature field in twips. If this parameter is set to zero, a built-in mouse interface is started which enables the end-user to define the size of the signature field through a rectangle, drawn with the mouse.

Return Value

The method returns the signature field's identifier, if a new signature field could be inserted. Otherwise, it returns zero. The signature field's identifier can also be obtained with the ObjectCurrent property.

Data Types

TextPos:    Long
Width:    Integer
Height:    Integer
Return value:    Integer

See Also