Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LAnimationWindow::GetPosition

Show in webframe

#include "ltwrappr.h"

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

L_INT * pLeft;

/* address of a variable to be updated with the x coordinate */

L_INT * pTop;

/* address of a variable to be updated with the y coordinate */

L_UINT nIndex;

/* position of the bitmap list item */

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

Parameter

Description

pLeft

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

pTop

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

nIndex

Position of the bitmap list item.

Returns

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

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LAnimationWindow::LAnimationWindow, LAnimationWindow::SetPosition, LAnimationWindow::Load, LAnimationWindow::PlayAnimation, Class Members

Example

For an example, refer to LAnimationWindow::SetPosition.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.