LBitmapList::SetCurrentIndex

Summary

Sets the current index for the bitmap list object.

Syntax

#include "ltwrappr.h"

L_INT LBitmapList::SetCurrentIndex(uIndex)

Parameters

L_UINT uIndex

The current index to set for the bitmap list object.

Returns

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

Comments

The current index controls which item is returned when calling LBitmapList::GetNextItem and LBitmapList::GetPreviousItem.

Use zero-based indexing. For example, if there are 10 bitmaps in a list, the index of the last one is 9.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to LBitmapList::GetCurrentIndex.

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.