Working with Floaters

LEADTOOLS provides a number of functions for working with floaters. To determine whether an object has a floater, use LBitmapWindow::HasFloater. For an object that has a floater, you can retrieve the floater itself using LBitmapWindow::GetFloater, or you can retrieve a region corresponding to the floater using LBitmapWindow::GetFloaterRgn.

You also have the option of generating floaters automatically from regions created programmatically. To enable or disable this option use the LBitmapWindow::SetAutoRgnToFloater function. To determine whether this option is currently enabled or disabled, use LBitmapWindow::GetAutoRgnToFloater.