←Select platform

CanUpdate Property

Summary

Gets a value that determines if the ImageViewer currently will update the image viewing transform and invalidate the display when changes are made to the control's properties or to the image.

Syntax

C#
VB
Java
Objective-C
WinRT C#
protected virtual bool CanUpdate {get;} 
Protected Overridable ReadOnly Property CanUpdate As Boolean 
protected virtual bool CanUpdate {get;} 
@property (nonatomic, assign, readonly) BOOL canUpdate 
public boolean canUpdate() 
 get_CanUpdate();  

Property Value

true if the ImageViewer will update the transform and invalidate; otherwise, it is false.

Remarks

The BeginUpdate method will cause the control to not update the image viewing transformation or invalidate the display when any changes to the control's properties or the image is applied. When the user calls the EndUpdate method, the viewer will then update the transformation and invalidate the display to show all the changes that have been made.

For better visual results and for speed efficiency, it is recommended you surround multiple calls that will cause a render or transformation change between BeginUpdate and EndUpdate.

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.

To determine if the control will currently update the transform and invalidate, use CanUpdate.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)