Combines the floater of this item with the image of the same or another item.
public virtual bool CombineFloater(
ImageViewerItem targetItem,
bool deleteFloater
)
Public Overridable Function CombineFloater(
ByVal targetItem As ImageViewerItem,
ByVal deleteFloater As Boolean
) As Boolean
public:
virtual bool CombineFloater(
ImageViewerItem^ targetItem,
bool deleteFloater
)
targetItem
Target item. If this value is null, then the floater will be combined with the image of this same
item, otherwise; the floater will be combined with the image of targetItem.
deleteFloater
true to automatically delete the floater image from the item after combining, otherwise; false.
This method is called by ImageViewer.CombineFloater.
The floater transformation (position, scale and rotation value) is stored in ImageViewerItem.FloaterTransform and this method will use this value during the combine operation.
Internally, the viewer will use the image in Floater transformed by FloaterTransform and combine the result into Image using CombineFastCommand.
After this method finishes, the ItemChanged event will fire with ImageViewerItemChangedReason.Image. If the floater is deleted, ImageViewerItemChangedReason.Floater will also occur.
When deleteFloater is true, then this method will delete the floater by setting the value of Floater to null.
For an example, refer to Floater.
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