Provides input to LFile::SaveOffset.


#include "ltwrappr.h"

virtual L_INT LFile::SaveFileOffsetCallBack(pLBitmap, pLBuffer, uRow, uLines)


LBitmapBase * pLBitmap

Pointer to the bitmap object that contains the image information.

LBuffer * pLBuffer

Pointer to the caller's input buffer object where the callback function must put the data.


The number of the first line that the callback function must put in the buffer.

L_UINT uLines

The number of lines that the callback function must put in the buffer.


Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.


Override this function to provide input to LFile::SaveOffset.

If you override this function, you must supply the image data that the function will save. The base class implementation saves data from the class object's associated bitmap.

This function does not support signed data images, unless they are DICOM images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image that is not a DICOM image is passed to this function.

Required DLLs and Libraries


Win32, x64.

See Also


For an example, refer to LFile::LoadOffset.

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help