The FILEOVERLAYCALLBACKDATA structure passed to the LBase::OverlayCallBack function contains information about the overlay image found in the file. Some members of this structure are for input some are for output as follows:
NOTE: The LTFIL.H header file describes the entire FILEOVERLAYCALLBACKDATA structure.
(input) String containing the name of the file containing the overlay bitmap.
(input) Page number of the requested overlay image.
(input) Determines whether overlay image info or actual bitmap is needed as follows:
Value | Meaning |
---|---|
TRUE | Only the information about the overlay image is needed. You must now in the nInfoWidth, nInfoHeight, nInfoXResolution and nInfoYResolution members of this structure. |
FALSE | The actual overlay bitmap is needed. You must now load the overlay bitmap into the pLoadBitmap member of this structure. |
(output) Overlay image width in pixels. If the bInfo member of this structure is TRUE, you need to set this member to the overlay bitmap width, otherwise, ignore.
(output) Overlay image height in pixels. If the bInfo member of this structure is TRUE, you need to set this member to the overlay bitmap height, otherwise, ignore.
(output) Overlay image horizontal resolution in pixels per inch. If the bInfo member of this structure is TRUE, you need to set this member to the overlay bitmap horizontal resolution, otherwise ignore.
(output) Overlay image vertical resolution in pixels per inch. If the bInfo member of this structure is TRUE, you need to set this member to the overlay bitmap vertical resolution, otherwise ignore.
(output) Pointer to a BITMAPHANDLE structure into which the overlay bitmap will be loaded. If the bInfo member is FALSE, you need to load the overlay bitmap into this member. Otherwise ignore. You do not need to call LBitmapbase::free on this bitmap. LEADTOOLS will free it for you once its done overlaying it on the image.
For an example, refer to the LBase::OverlayCallBack function.lass="deprecated-leadlabel-id">Example
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document