ezLCD SDK Documentation

EZLCD004.TouchSampleSize Property

 [This is preliminary documentation and subject to change.]

Get/Set the number of samples that are averaged to determine the location of a pen event. The PenDown and PenDrag Events will be fired once the specified sample size is reached.

Note   The PenDown event WILL be fired in the event that the user lifts the pen before the specified number of samples is collected. In such a case the samples collected so far will be averaged to generate the PenDown event. This PenDown event will be fired prior to the PenUp event firing. Also, a PenDown event may be generated from less than the specified number of samples if any of the samples fall outside the radius specified by the DragSensitivity. In this case, the PenDown event will be fired followed by a PenDrag event.

[Visual Basic]
Public Property UInt16 As 
[C#]
public ushort UInt16 { get; set; }
[C++]
public: __property  get_UInt16();
public: __property void set_UInt16(unsigned short );
[JScript]
public function get UInt16() : UInt16
public function set UInt16(UInt16);

See Also

EZLCD004 Class | EZLCD.SDK Namespace