←Select platform

WorkingBuffer Property

Summary
Gets or sets the buffer to use for determining how far an OnPointerMove is from the previous OnPointerMove to be considered a legitimate move operation by the user and not an error due to sensitity.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual int WorkingBuffer { get; set; } 
@property (nonatomic, assign) NSInteger workingBuffer; 
public int getWorkingBuffer() 
public void setWorkingBuffer(int workingBuffer) 
public:  
   virtual property Int32 WorkingBuffer 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 
WorkingBuffer # get and set (AnnEditDesigner) 

Property Value

The buffer to use for determining how far an OnPointerMove is from the previous OnPointerMove to be considered a legitimate move operation by the user and not an error due to sensitity. Default value is 2 pixels.

Remarks

Most AnnEditDesigner objects work as follows:

  1. OnPointerDown arrives, conditions are checked and if everything is OK, StartWorking is fired to indicate that we started editing the object.

  2. OnPointerMove will follow. And if everything is still is OK, Working is called to indicate that we are editing the object.

In most time, the pointer is sensitive enough that as the user clicks (pointer down), the pointer moves a few pixels (even one is enough to cause this behavior) and a move event will fire right away. This causes StartWorking and Working to appear to fire from the single OnPointerDown operation.

To fix this, AnnEditDesigner uses the value of WorkingBuffer to indicate how far an OnPointerMove is from the previous OnPointerMove to be considered a legitimate move operation by the user and not an error due to sensitity. The default value is 2 pixels.

Requirements

Target Platforms

Help Version 23.0.2024.5.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.