IOperationServiceAddStatusBarInfo Method |
Shows text in Syrve POS status bar.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
SyntaxIDisposable AddStatusBarInfo(
string text,
bool isError = false,
byte rank = 255,
double widthRate = 1
)
Parameters
- text String
-
Text to be shown in Syrve POS status bar. Text is limited to 255 symbols, everything over the limit will be cut.
- isError Boolean (Optional)
-
Whether the status bar item describes an error. Error message will be shown in red with an error icon.
- rank Byte (Optional)
-
Higher rank means created status bar item is to be placed on right side of lesser ranked items, items on right side may be shortened if lack of free space.
- widthRate Double (Optional)
-
Means the size in relation to other status bar items.
Return Value
IDisposable
See Also