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



autoColorResolution
If true, automatically checks if the Leadtools.RasterImage.BitsPerPixel value of RasterImageViewer.FloaterImage is different than that of Image and converts the RasterImageViewer.FloaterImage prior to combining if necessary.
combineFlags
A Leadtools.ImageProcessing.CombineFastCommandFlags determining the source and destination operation used when combining the RasterImageViewer.FloaterImage with the Image.
autoColorResolution
If true, automatically checks if the Leadtools.RasterImage.BitsPerPixel value of RasterImageViewer.FloaterImage is different than that of Image and converts the RasterImageViewer.FloaterImage prior to combining if necessary.
combineFlags
A Leadtools.ImageProcessing.CombineFastCommandFlags determining the source and destination operation used when combining the RasterImageViewer.FloaterImage with the Image.
Combines the RasterImageViewer.FloaterImage with the Image currently inside this RasterImageViewer.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub CombineFloater( _
   ByVal autoColorResolution As Boolean, _
   ByVal combineFlags As CombineFastCommandFlags _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim autoColorResolution As Boolean
Dim combineFlags As CombineFastCommandFlags
 
instance.CombineFloater(autoColorResolution, combineFlags)
C# 
public virtual void CombineFloater( 
   bool autoColorResolution,
   CombineFastCommandFlags combineFlags
)
C++/CLI 
public:
virtual void CombineFloater( 
   bool autoColorResolution,
   CombineFastCommandFlags combineFlags
) 

Parameters

autoColorResolution
If true, automatically checks if the Leadtools.RasterImage.BitsPerPixel value of RasterImageViewer.FloaterImage is different than that of Image and converts the RasterImageViewer.FloaterImage prior to combining if necessary.
combineFlags
A Leadtools.ImageProcessing.CombineFastCommandFlags determining the source and destination operation used when combining the RasterImageViewer.FloaterImage with the Image.

Example

For an example, refer to RasterImageViewer.FloaterImage.

Remarks

This method will use the Leadtools.ImageProcessing.CombineFastCommand image processing command to combine the RasterImageViewer.FloaterImage with Image. The RasterImageViewer.FloaterImage will be combined at the position specified by FloaterPosition.

If the value of autoColorResolution is set to true and RasterImageViewer.FloaterImage has a different bits/pixel value of Image, this method will first use the Leadtools.ImageProcessing.ColorResolutionCommand image processing command to convert RasterImageViewer.FloaterImage to the same bits/pixel of Image. If the value of autoColorResolution is false, no conversion will take place and this method might throw an exception of the bits/pixel value of the two images are not compatible.

After you call this method, you can set the value of RasterImageViewer.FloaterImage to null (Nothing in Visual Basic) to dispose it.

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