LineDisplayBase.CapCursorType Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Holds a bitwise indication of the cursor types supported by the line display device, selectable via the CursorType property.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property CapCursorType As DisplayCursors
public override DisplayCursors CapCursorType { get; }
public:
virtual property DisplayCursors CapCursorType {
DisplayCursors get () override;
}
/** @property */
public DisplayCursors get_CapCursorType ()
public override function get CapCursorType () : DisplayCursors
Remarks
LineDisplayBase class verifies that the device has been opened, then retrieves the value of LineDisplayProperties.CapCursorType.
CapCursorType is initialized to DisplayCursors.None by the LineDisplayProperties class. The service object should update CapCursorType to an appropriate value in its Open method. The LineDisplayBase class may throw a PosControlException with the following ErrorCode:
Value |
Meaning |
Illegal |
The specified value is an invalid DisplayCursors value; or One of the specified values is DisplayCursors.Fixed but another flag wasn’t included. |
Otherwise, LineDisplayProperties class uses the specified value to set LineDisplayProperties.CapCursorType.
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
LineDisplayBase Class
LineDisplayBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
DisplayCursors Enumeration
LineDisplay.CapCursorType Property