Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
CombineFloater Method
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : CombineFloater Method




autoColorResolution
If true, automatically checks if the BitsPerPixel value of FloaterImage is different than that of Image and converts the FloaterImage prior to combining if necessary.
combineFlags
A CombineFastCommandFlags determining the source and destination operation used when combining the FloaterImage with the Image.
Combines the 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
)
Managed Extensions for 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 BitsPerPixel value of FloaterImage is different than that of Image and converts the FloaterImage prior to combining if necessary.
combineFlags
A CombineFastCommandFlags determining the source and destination operation used when combining the FloaterImage with the Image.

Example

For an example, refer to FloaterImage.

Remarks

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

If the value of autoColorResolution is set to true and FloaterImage has a different bits/pixel value of Image, this method will first use the ColorResolutionCommand image processing command to convert 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 FloaterImage to null (Nothing in Visual Basic) to dispose it.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also