Indicates whether to invert the item images.
Object.defineProperty(ImageViewer.prototype, 'invert',
get: function(),
set: function(value)
)
invert: boolean;
true to invert the item images; otherwise, false. The default value is false.
Changing the value of this property will fire the PropertyChanged and TransformChanged events.
This is a display value and the image data will not be changed.
Note for the LEADTOOLS JavaScript library, the item must use an HTMLCanvasElement (ImageViewerItem.Canvas must not be null). To easily transform all images into canvas elements when adding them to the viewer, set ImageViewer.AutoCreateCanvas to true.
If the URL of the image is not
in the same domain, a security error might occur. For more information, refer to CanvasRenderingContext2D.getImageData
.
For more information, refer to Image Viewer Appearance.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document