Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewerItem Class : ImageRegionToFloater Method |
public virtual bool ImageRegionToFloater()
'Declaration
Public Overridable Function ImageRegionToFloater() As Boolean
This method will return false if the value of Image is null or if the raster image does not have a valid region (the value of HasRegion is false).
Call this method to convert the current region inside RasterImage to a floater. FloaterTransform is automatically updated with values obtained from the region transformation after you call this method. The result image is set in Floater.
This method will not delete the region from Image. If you need to do that, call RasterImage.MakeRegionEmpty after you call this method.
ImageViewerAddRegionInteractiveMode will perform exactly that when the value of AutoRegionToFloater is true.
For more information, refer to Image Viewer Items.
For an example, refer to Floater.