Intermec ck1 Reference Guide
Chapter 4 — SDK Components
186
CK1 SDK Programmer’s Reference Manual
otk_entry_clear
Purpose: Clear all content in the text buffer of the specified entry.
Prototype:
int otk_entry_clear (OtkEntry* oep);
Parameter: oep
Pointer of the specified entry instance
Return: 1 If succeeded
0 If
failed
otk_entry_select_all
Purpose: Mark all content in the text buffer of the specified entry.
Prototype:
int otk_entry_select_all (OtkEntry* oep);
Parameter: oep
Pointer of the specified entry instance
Return: Length of the marked region
otk_entry_set_font_size
Purpose: Set the font size of the specified entry.
Prototype:
void otk_entry_set_font_size(OtkEntry* oep, int
fontsize);
Parameters: oep
Pointer of the specified entry instance
fontsize Font
size
Return: None
otk_entry_set_align
Purpose: Set the align style of the specified entry.
Prototype:
void otk_entry_set_align(OtkEntry* oep, int align);
Parameters: oep
Pointer of the specified entry instance
align
Value of the align style
Return: None
otk_entry_set_restrict_length
Purpose: Set the restriction length of the specified entry.
Prototype:
void otk_entry_set_restrict_length(OtkEntry* oep, int
restrictlength);