LImageViewer::GetAnimationProperties

#include "ltwrappr.h"

L_INT LImageViewer::GetAnimationProperties(nCellIndex, pDisAnimationProps, uFlags)

L_INT nCellIndex;

/* index of a cell */

pDISPANIMATIONPROPS pDisAnimationProps;

/* pointer to a DISPANIMATIONPROPS structure */

L_UINT uFlags;

/* reserved for future use */

Retrieves the current animation properties of the specified cell.

Parameter

Description

nCellIndex

A zero-based index of the cell for which to retrieve the animation properties.

pDisAnimationProps

Pointer to a DISPANIMATIONPROPS structure to be updated with the current animation properties of the specific cell.

uFlags

Reserved for future use. Pass 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To change the animation properties of a cell, call the LImageViewer::SetAnimationProperties function.

Before calling LImageViewer::GetAnimationProperties the user should:

1.

Declare a variable of type DISPANIMATIONPROPS.

2.

Pass a pointer to the DISPANIMATIONPROPS structure to LImageViewer::GetAnimationProperties as the pDisAnimationProps parameter.

For more information on the available animation properties, refer to the DISPANIMATIONPROPS structure.

Required DLLs and Libraries

LTIVW

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

See Also

Functions:

LImageViewer::Create, LImageViewer::Destroy, LImageViewer::StartAnimation, LImageViewer::StopAnimation, LImageViewer::SetAnimationProperties, LImageViewer::IsCellAnimated.

Topics:

Image Viewer Functions: Implementing Animation.

 

Implementing Animation

Example

For an example, refer to LImageViewer::StartAnimation.