LPlayBack::ValidateLines

Summary

Validates the lines of a bitmap, that was added during an LFile object's load callback function, using the LPlayBack::Append function.

Syntax

#include "ltwrappr.h"

virtual L_INT LPlayBack::ValidateLines(nRow, nLines=1)

Parameters

L_INT nRow

Row number of the first line in the bitmap to validate. In the LFile object's load callback function, this corresponds to the first line in the buffer.

L_INT nLines

Number of lines to validate. In the LFile object's load callback function, this corresponds to the number of lines in the buffer.

Returns

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

Comments

The LPlayBack::Append function enables you to update a bitmap list in an LFile object's load callback function, so that you can play an animation file as it is being loaded. The LPlayBack::ValidateLines() function lets you validate the lines that the animation playback engine will render to the target bitmap.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LPlayBack::Append.

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
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.