IOperationServiceAddStatusBarInfo Method |
Shows text in iikoFront status bar.
Namespace:
Resto.Front.Api
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax IDisposable AddStatusBarInfo(
string text,
bool isError = false,
byte rank = 255,
double widthRate = 1
)
Parameters
- text
- Type: SystemString
Text to be shown in iikoFront status bar. Text is limited to 255 symbols, everything over the limit will be cut.
- isError (Optional)
- Type: SystemBoolean
Whether the status bar item describes an error. Error message will be shown in red with an error icon.
- rank (Optional)
- Type: SystemByte
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 (Optional)
- Type: SystemDouble
Means the size in relation to other status bar items.
Return Value
Type:
IDisposableSee Also