Share via


LineDisplay.ClearText Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Clears the active window by displaying blanks, sets the CursorRow and CursorColumn properties to zero, and then resynchronizes the beginning of the window with the start of the viewport.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Sub ClearText
public abstract void ClearText ()
public:
virtual void ClearText () abstract
public abstract void ClearText ()
public abstract function ClearText ()

Remarks

If the device is in Immediate mode or Teletype mode, the viewport is also cleared immediately.

If in Marquee Init mode, the viewport is not changed.

If in Marquee On mode, ClearText is illegal.

ClearText may cause a PosControlException to be thrown with the following ErrorCode.

Value

Meaning

Illegal

The device is in Marquee On mode and cannot be cleared.

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

LineDisplay Class
LineDisplay Members
Microsoft.PointOfService Namespace
DisplayText
DisplayText