ReplaceSmartLabelTextData¶
Description
Replaces the value of the text object of the label file (*.slex) selected by SelectSmartLabelFile.
Syntax
ErrorCode ReplaceSmartLabelTextData( int mapId, string text )
Parameter
mapId
ID of the text object
Specify the lD of the text object mapped on the label file (*.slex) of the app.
ID of the text object can be confirmed on the UI display of the app.

UI display of Smart Label Creator
text
Text data to replace
Specify the text data to replace.
For the character string to be specified, be sure to terminate with NULL.
The maximum length of text data is 10000 characters including NULL.
If the text data is empty, the text data will not be printed in the text object specified by mapId.
Return value
Returns an error code. See "Error Code List" for details of the error code.
Remarks
- When SelectSmartLabelFile is not called, this API fails.
- See "Printing Label Function" for details of the printing using the label file.