Scale.DisplayText Method
2/27/2008
Updates display text.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub DisplayText ( _
data As String _
)
public abstract void DisplayText (
string data
)
public:
virtual void DisplayText (
String^ data
) abstract
public abstract void DisplayText (
String data
)
public abstract function DisplayText (
data : String
)
Parameters
- data
The string of characters to display.
Remarks
Call DisplayText to update the text shown on the integrated display. To clear the display, call DisplayText with an empty string ("").
If CapDisplayText is false, the device does not support text display and DisplayText will fail.
DisplayText may cause a PosControlException to be thrown with the following ErrorCode::
Value |
Meaning |
Illegal |
An invalid text string was specified – the text contains more characters than allowed in MaxDisplayTextChars, or displaying text is not allowed. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
Scale Class
Scale Members
Microsoft.PointOfService Namespace
CapDisplay
CapDisplayText
MaxDisplayTextChars