Sets the image data at the specified location and size.
public abstract void SetImageData(
Leadtools.Annotations.Core.AnnContainer container,
Leadtools.LeadRectD bounds,
byte[] data
)
Public MustOverride Sub SetImageData( _
ByVal container As Leadtools.Annotations.Core.AnnContainer, _
ByVal bounds As Leadtools.LeadRectD, _
ByVal data() As Byte _
)
public abstract void SetImageData(
Leadtools.Annotations.Core.AnnContainer container,
Leadtools.LeadRectD bounds,
byte[] data
)
function Leadtools.Annotations.Core.AnnDataProvider.SetImageData(
container ,
bounds ,
data
)
container
The reference AnnContainer.
bounds
The location and size in container on where to set the image data. This is in container coordinates.
data
The image data to be set. This contains the same data previously obtained with GetImageData.
Derived classes must implement GetImageData to extract the data of the image being annotated at the specified location and size and SetImageData to reapply this same data to the image.
The data is application specific since it will only be stored as is inside the caller annotation object (for example, AnnRedactionObject during realize/restore). The format of the data and how it is obtained or applied is hidden from the annotations framework. A typical would be to copy the pixel data from the image then convert it to a standard format such as PNG and return it from GetImageData.
The automation framework will call GetImageData only if the value of CanRead is true and SetImageData only if the value of CanWrite is true.
Products |
Support |
Feedback: SetImageData Method - Leadtools.Annotations.Core |
Introduction |
Help Version 19.0.2017.3.22
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.