Leadtools.WinForms Namespace > RasterImageViewer Class : CombineFloater Method |
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 )
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.