Gets or sets the data provider to use for getting and setting image data.
Object.defineProperty(AutomationImageViewer.prototype, 'automationDataProvider',
get: function(),
set: function(value)
)
automationDataProvider: AnnDataProvider;
The AnnDataProvider object used when getting and setting image data.
The automation object will get the value of this property and check against null and read/write support (through AnnDataProvider.CanRead and AnnDataProvider.CanWrite) to determine whether operations that require manipulating the pixel data of the image are available. These include:
Whether you can call AnnRedactionObject.Realize and AnnRedactionObject.Restore through the automation object.
Whether you can call AnnEncryptObject.Apply through the automation object.
If the value of AutomationDataProvider is null, these operations cannot be run from the automation and the "Can" properties will return false.
Annotation applications that support these operations must create an instance of a class that derives from AnnDataProvider and set it in AutomationDataProvider. The example projects listed in IAnnAutomationControl all have an implementation of this class that supports reading/write pixel data from an image object. The JavaScript example project contains an implementation that reads and writes the image pixel data using the ImageViewer canvas or a web service.
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