LBitmapList::SetCurrentIndex

#include "ltwrappr.h"

L_INT LBitmapList::SetCurrentIndex(uIndex)

Sets the current index for the bitmap list object.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.