LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
RegionToFloater Method
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : RegionToFloater Method



Converts the image region to a floater.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub RegionToFloater() 
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
 
instance.RegionToFloater()
C# 
public virtual void RegionToFloater()
C++/CLI 
public:
virtual void RegionToFloater(); 

Example

For an example, refer to RasterImageViewer.FloaterImage.

Remarks

Call this method to convert the current region inside Image to a floater. The FloaterPosition is automatically updated after you call this method.

This method will not delete the region from Image. If you need to do that, call Leadtools.RasterImage.MakeRegionEmpty after you call this method.

If the Image inside this RasterImageViewer does not have a region, this method will do nothing.

This method uses the Leadtools.ImageProcessing.CopyRectangleCommand image processing command to convert the image region to a floater image.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also