LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

CombineFloater Method






If true, automatically checks if the Leadtools.RasterImage.BitsPerPixel value of FloaterImage is different than that of Image and converts the FloaterImage prior to combining if necessary.
A Leadtools.ImageProcessing.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
public virtual void CombineFloater( 
   bool autoColorResolution,
   CombineFastCommandFlags combineFlags
)
'Declaration
 
Public Overridable Sub CombineFloater( _
   ByVal autoColorResolution As Boolean, _
   ByVal combineFlags As CombineFastCommandFlags _
) 
'Usage
 
Dim instance As RasterImageViewer
Dim autoColorResolution As Boolean
Dim combineFlags As CombineFastCommandFlags
 
instance.CombineFloater(autoColorResolution, combineFlags)
public virtual void CombineFloater( 
   bool autoColorResolution,
   CombineFastCommandFlags combineFlags
)
 function Leadtools.WinForms.RasterImageViewer.CombineFloater( 
   autoColorResolution ,
   combineFlags 
)
public:
virtual void CombineFloater( 
   bool autoColorResolution,
   CombineFastCommandFlags combineFlags
) 

Parameters

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

This method will use the Leadtools.ImageProcessing.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 Leadtools.ImageProcessing.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.

Example
For an example, refer to FloaterImage.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.