GetTextW (FUN)

FUNCTION GetTextW : ReturnValues

This function returns the language specific text of a textlist as WSTRING. To retrieve real unicode strings the parameter “Use Unicode strings” must be activated in the visualization manager.

InOut:

Scope

Name

Type

Comment

Return

GetTextW

ReturnValues

Possible last error values:

see ReturnValues (ENUM) where possible error reasons are described.

Inout Const

sTextList

STRING

The textlist name

sTextIndex

STRING

The textlist id

Input

pwsText

POINTER TO WSTRING

The buffer where the result text should be returned

diSize

DINT

The size of the parameter pwsText in byte that the parameter SIZEOF() can be used