←Select platform

NewImageResetOptions Property

Summary

Gets or sets a value that determines which properties to reset when a new image is set into the viewer.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public Leadtools.Controls.ImageViewerNewImageResetOptions NewImageResetOptions {get; set;} 
Public Property NewImageResetOptions As Leadtools.Controls.ImageViewerNewImageResetOptions 
public Leadtools.Controls.ImageViewerNewImageResetOptions NewImageResetOptions {get; set;} 
@property (nonatomic, assign) LTImageViewerNewImageResetOptions newImageResetOptions 
public int getNewImageResetOptions() 
public void setNewImageResetOptions(int options) 
             
  
get_NewImageResetOptions(); 
set_NewImageResetOptions(value); 
Object.defineProperty('NewImageResetOptions');  

Property Value

An ImageViewerNewImageResetOptions value that determines the properties to reset when a new image is set into the viewer. The default value is ImageViewerNewImageResetOptions.All.

Remarks

You can use this property to control which of the display properties of the controls resets back to its default value when a new image is set or when the user changes ImageSize directly.

Example

For an example, refer to RasterImageViewer.

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)