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.
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