TX Text Control ActiveX

SignatureFieldInsertAsChar Method

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

Parameters

ParameterDescription
TextPosSpecifies a text position where the signature field should be inserted. If TextPos is -1, the signature field is inserted at the current input position.
WidthSpecifies 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.
HeightSpecifies 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

NameData type
TextPosLong
WidthInteger
HeightInteger
Return valueInteger

See Also