Appends the changes between two versions of a container to the history.
public void Append(
AnnContainer[] currentContainers,
AnnContainer[] updatedContainers
)
Public Sub Append(
ByVal currentContainers() As AnnContainer,
ByVal updatedContainers() As AnnContainer
)
public:
void Append(
array<AnnContainer^>^ currentContainers,
array<AnnContainer^>^ updatedContainers
)
currentContainers
The current (old) containers containing the original objects.
updatedContainers
The updated (new) containers with any changes.
Append will compare the objects in the current and modified containers and add a new item in Items for each annotation object that has been changed.
This method works as follows:
If a container is removed (is in currentContainer but not in updatedContainer), then an entry for all the AnnObject children of this container is added to Items with AnnHistoryItemState equals to Deleted
.
If a container is added (is in updatedContainer but not in currentContainer), then an entry for all the AnnObject children of this container is added to Items with AnnHistoryItemState equals to Added
.
Any object that is in updatedContainer but not in its equivalent container in currentContainer is considered a new object and an entry of type Added
is added to Items.
Any object that is in currentContainer but not in its equivalent container in updatedContainer is considered deleted and an entry of type Deleted
is added to Items.
For all objects that are in both currentContainer and its equivalent updatedContainer, the AnnObject.ModifiedMetadataKey values are compared and if not equal, an entry of type 'Modified' is added to Items.
Therefore, when this method returns, Items will be updated to add a list of all the annotation objects that have been changed between the two container sets.
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