Request

Request 1:

Calling this method triggers the asynchronous text request.

Syntax

METHOD Request : BOOL
VAR_INPUT
    eventClass : GUID;
END_VAR
VAR_IN_OUT CONSTANT
    text       : STRING;
END_VAR
VAR_INPUT
    nLangId    : DINT;
    ipArgs     : I_TcArguments;
END_VAR

Request 2: Inputs

Name

Type

Description

eventClass

GUID

Specifies the event class to be used as the basis for the query.

text

STRING

The text to be translated

nLangId

DINT

Specifies the language ID:

English (en-US) = 1033
German (de-DE) = 1031
...

The TcLcid enum can be used.

ipArgs

I_TcArguments

Optional specification of arguments.

Request 3: Return value

Name

Type

Description

Request

HRESULT

Returns possible error information.