LAnimationWindow::IsTransparencyEnabled

#include "ltwrappr.h"

L_INT LAnimationWindow::IsTransparencyEnabled(pEnabled, pTransparentColor, nIndex) const

L_BOOL * pEnabled;

/* pointer to a variable to be updated */

COLORREF * pTransparentColor;

/* pointer to a variable to be updated with the transparent color */

L_UINT nIndex;

/* position of the bitmap list item */

Gets the transparency parameters to be used with playback for the bitmap item at position nIndex inside the bitmap list.

Parameter

Description

pEnabled

Pointer to a variable to be updated with a flag that indicates whether transparency is enabled.

pTransparentColor

Pointer to a variable to be updated with the current transparency color.

nIndex

Position of the bitmap list item.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

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::IsTransparencyEnabled, LAnimationWindow::Load, LAnimationWindow::PlayAnimation, Class Members

Topics:

Using Color Values in LEADTOOLS

Example

For an example, refer to LAnimationWindow::EnableTransparency.