Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Designers Assembly > Leadtools.Annotations.Designers Namespace > AnnEditDesigner Class : WorkingBuffer Property |
public virtual int WorkingBuffer {get; set;}
'Declaration
Public Overridable Property WorkingBuffer As Integer
'Usage
Dim instance As AnnEditDesigner Dim value As Integer instance.WorkingBuffer = value value = instance.WorkingBuffer
public virtual int WorkingBuffer {get; set;}
public int getWorkingBuffer() public void setWorkingBuffer(int workingBuffer)
<br/>get_WorkingBuffer();<br/>set_WorkingBuffer(value);<br/>Object.defineProperty('WorkingBuffer');
Most AnnEditDesigner objects work as follows:
OnPointerDown arrives, conditions are checked and if everything is OK, StartWorking is fired to indicate that we started editing the object.
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 a 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.