Provides input to the LFile::SaveFile function.
virtual L_INT LFile::SaveFileCallBack(pLBitmap, pLBuffer, uRow, uLines)
Pointer to the bitmap object that contains the image information.
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.
The number of lines that the callback function must put in the buffer.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
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.
For an example, refer to LFile::LoadFile.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries