L_DispContainerReverseAnnotationContainer

#include "l_bitmap.h"

L_LTIVW_API L_INT EXT_FUNCTION L_DispContainerReverseAnnotationContainer(hCon, nCellIndex, nSubCellIndex, uFlags)

HDISPCONTAINER hCon;

/* handle to the container */

L_INT nCellIndex;

/* index of the cell */

L_INT nSubCellIndex;

/* index into the image list attached to the cell */

L_UINT uFlags;

/* reserved for future */

Reverses the annotation container.

Parameter

Description

hCon

Handle to the container.

nCellIndex

A zero-based index of the cell to reverse its annotation container. Pass -1 to reverse the annotation container of all the cells in the container. Pass -2 to reverse the annotation container of all the selected cells.

nSubCellIndex

A zero-based index into the image list attached to the cell specified in nCellIndex. This sub-cell contains the image that contains the annotation container. Pass -2 to refer to the selected sub-cell.

uFlags

Reserved for future use. Pass 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function only reverses the annotation container. It doesnt reverse the image itself.

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.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP, Windows CE.

See Also

Functions:

L_DispContainerRotateAnnotationContainer, L_DispContainerFlipAnnotationContainer, L_DispContainerGetAnnotationContainer, L_DispContainerSetAnnotationContainer, L_DispContainerAnnToRgn, L_DispContainerGetSelectedAnnotationAttributes, L_DispContainerSetAnnotationCallBack, L_DispContainerGetAnnotationCallBack, L_DispContainerGetAnnotationCreatedCallBack, L_DispContainerSetAnnotationCreatedCallBack, DISPCONTAINERANNOTATIONCALLBACK, DISPCONTAINERANNOTATIONCREATEDCALLBACK

Topics:

Working with Annotations

 

Image Viewer Functions: Working with Annotations

Example

For an example, refer to L_DispContainerFlipAnnotationContainer.