LAnimationWindow::GetPosition

Summary

Gets the left and/or top positions for the bitmap item at position nIndex inside the bitmaplist.

Syntax

#include "ltwrappr.h"

L_INT LAnimationWindow::GetPosition(pLeft, pTop, nIndex) const

Parameters

L_INT * pLeft

Address of a variable to be updated with the x coordinate of the bitmap list item, or NULL.

L_INT * pTop

Address of a variable to be updated with the y coordinate of the bitmap list item, or NULL.

L_UINT nIndex

Position of the bitmap list item.

Returns

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

Comments

You can pass NULL for pLeft or pTop to ignore the returned values, but you must pass at least one valid pointer.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to LAnimationWindow::SetPosition.

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.