RemoteOrderDisplay.DisplayData Method (POS for .NET v1.14 SDK Documentation)
3/2/2014
Displays the characters in data starting at the location that is specified by row and column, and continues in succeeding columns on the video unit(s) indicated in the units parameter.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub DisplayData ( _
units As DeviceUnits, _
row As Integer, _
column As Integer, _
attribute As VideoAttributes, _
data As String _
)
public abstract void DisplayData (
DeviceUnits units,
int row,
int column,
VideoAttributes attribute,
string data
)
public:
virtual void DisplayData (
DeviceUnits units,
int row,
int column,
VideoAttributes attribute,
String^ data
) abstract
public abstract void DisplayData (
DeviceUnits units,
int row,
int column,
VideoAttributes attribute,
String data
)
public abstract function DisplayData (
units : DeviceUnits,
row : int,
column : int,
attribute : VideoAttributes,
data : String
)
Parameters
- units
The video units to operate on.
- row
The start row for the text.
- column
The start column for the text.
- attribute
The video attribute.
- data
The string of characters to display.
Remarks
Any characters that extend beyond the last column are discarded.
This method is performed synchronously if AsyncMode is false, and asynchronously if AsyncMode is true.
DisplayData may cause a PosControlException exception to be thrown with the following ErrorCode:
Value |
Description |
Failure |
An error occurred while communicating with one of the video units specified by units. The ErrorUnits and ErrorString properties are updated before return. (Can only occur if AsyncMode is false.) |
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
RemoteOrderDisplay Class
RemoteOrderDisplay Members
Microsoft.PointOfService Namespace
AsyncMode
ErrorString
ErrorUnits