←Select platform

AutomationDataProvider Property

Summary

Gets or sets the data provider to use for getting and setting image data.

Syntax

C#
VB
C++
public virtual AnnDataProvider AutomationDataProvider { get; set; } 
  
Public Overridable Property AutomationDataProvider As Leadtools.Annotations.Core.AnnDataProvider 
             
            public: 
virtual property Leadtools.Annotations.Core.AnnDataProvider^ AutomationDataProvider { 
   Leadtools.Annotations.Core.AnnDataProvider^ get(); 
   void set (    Leadtools.Annotations.Core.AnnDataProvider^ ); 
} 
             

Property Value

The Leadtools.Annotations.Core.AnnDataProvider object used when getting and setting image data.

Remarks

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:

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 Leadtools.Annotations.Core.AnnDataProvider and set it in AutomationDataProvider. The example projects listed in Leadtools.Annotations.Core.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.

Requirements

Target Platforms

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

Leadtools.MedicalViewer Assembly