←Select platform

CombineFloater Method

Summary

Combines the FloaterImage with the Image currently inside this RasterImageViewer.

Syntax

C#
VB
C++
public virtual void CombineFloater( 
   bool autoColorResolution, 
   CombineFastCommandFlags combineFlags 
) 
  
Public Overridable Sub CombineFloater( _ 
   ByVal autoColorResolution As Boolean, _ 
   ByVal combineFlags As Leadtools.Imageprocessing.CombineFastCommandFlags _ 
)  
public: 
virtual void CombineFloater(  
   bool autoColorResolution, 
   Leadtools.Imageprocessing.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 VB) to dispose it.

Example

For an example, refer to FloaterImage.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly