L_VecDlgGetStringLen

#include "lvdlg.h"

L_LVDLG_API L_INT L_VecDlgGetStringLen(uString, puLen)

Gets the length of the string at the specified index.

Parameters

L_UINT32 uString

Index into a list of strings. For a list of the strings, refer to Dialog Strings.

L_UINT * puLen

Pointer to an unsigned integer variable to be updated with the length of the item's current character string.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Once you know the length of the string at the specified index, retrieve the text by calling L_VecDlgGetString.

Use L_VecDlgSetString to modify the text.

Before calling this function, you must declare an unsigned integer variable. Then, pass the address of the variable in the puLen parameter. This function will update the variable with the length of the automation item's character string.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_VecDlgSetString.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help