Gets or sets the data provider to use for getting and setting image data.
public AnnDataProvider AutomationDataProvider { get; set; }
Property AutomationDataProvider As Leadtools.Annotations.Core.AnnDataProvider
Leadtools.Annotations.Core.AnnDataProvider AutomationDataProvider {get; set;}
@property (nonatomic) LTAnnDataProvider* automationDataProvider;
AnnDataProvider getAutomationDataProvider();
void setAutomationDataProvider(AnnDataProvider provider);
get_AutomationDataProvider();
set_AutomationDataProvider(value);
Object.defineProperty('AutomationDataProvider');
public:
property AnnDataProvider^ AutomationDataProvider
{
AnnDataProvider^ get()
void set(AnnDataProvider^ value)
}
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 the user can call AnnRedactionObject.Realize and AnnRedactionObject.Restore through the automation object.
Whether the user can call AnnEncryptObject.Apply through the automation object.
If the value of AutomationDataProvider is null, these 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 image pixel data from a Leadtools.RasterImage object. The JavaScript example project contains an implementation that reads and writes the image pixel data using the Leadtools.Controls.ImageViewer canvas or a web service.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET