LFile::SaveFileOffsetCallBack

Summary

Provides input to LFile::SaveOffset.

Syntax

#include "ltwrappr.h"

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

Parameters

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.

L_UINT uRow

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.

Returns

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

Comments

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

Platforms

Win32, x64.

See Also

Example

For an example, refer to LFile::LoadOffset.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.