←Select platform

EndUpdate Method

Summary

Re-enables the updating the interactive modes of a viewer if any change is applied. This is useful to increase the control's efficiency.

Syntax
C#
VB
C++
public void EndUpdate() 
Public Sub EndUpdate() 
public:  
   void EndUpdate() 

Remarks

When items are added or removed from this collection, the object will might have to call ImageViewerInteractiveMode.Start and ImageViewerInteractiveMode.Stop to reset the interactive modes and stop any that is working since the order or the mode(s) that is currently enabled might change. To optimize this operation, call BeginUpdate before modifying the collection and EndUpdate after you are done. This way the object will not update the modes until all the items are added/remove and in their final state.

Calls to BeginUpdate and EndUpdate are accumulative. Each call to BeginUpdate must be matched with a corresponding call to EndUpdate or else updates to the transform won't be applied.

For more information, refer to Image Viewer Interactive Modes.

Example

For an example, refer to ImageViewerInteractiveModes.

Requirements

Target Platforms

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

Leadtools.Controls Assembly