LFile::SaveFileTileCallBack

#include "ltwrappr.h"

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

LBitmapBase * pLBitmap;

pointer to a bitmap object

LBuffer * pLBuffer;

pointer to a buffer object

L_UINT uRow;

first line to write to the buffer

L_UINT uLines;

number of lines to write to the buffer

Provides input to the LFile::SaveTile function.

Parameter

Description

pLBitmap

Pointer to the bitmap object that contains the image information.

pLBuffer

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

uRow

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

uLines

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

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

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

LTFIL
File format DLLs

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LFile::~LFile, Class Members

Example

For an example, refer to LFile::LoadTile.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help