Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LPlayBack::ValidateLines
#include "ltwrappr.h"
virtual L_INT LPlayBack::ValidateLines(nRow, nLines=1)
L_INT nRow; |
/* row number of the first line to validate */ |
L_INT nLines; |
/* number of lines to validate */ |
Validates the lines of a bitmap, that was added during an LFile object's load callback function, using the LPlayBack::Append function.
Parameter |
Description |
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. |
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
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
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics: |
Raster Image Functions: Creating and Maintaining Lists of Images |
|
Example
For an example, refer to LPlayBack::Append.