LImageViewer::ReverseAnnotationContainer

#include "ltwrappr.h"

L_INT LImageViewer::ReverseAnnotationContainer(nCellIndex, nSubCellIndex, uFlags)

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

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.

See Also

Functions:

LImageViewer::RotateAnnotationContainer, LImageViewer::FlipAnnotationContainer, LImageViewer::GetAnnotationContainer, LImageViewer::SetAnnotationContainer, LImageViewer::AnnToRgn, LImageViewer::GetSelectedAnnotationAttributes, LImageViewer::EnableAnnotationCallBack, LImageViewer::AnnotationCallBack, LImageViewer::EnableAnnotationCreatedCallBack, LImageViewer::AnnotationCreatedCallBack, Class Members

Topics:

Working with Annotations

 

Window Control/Image Viewer Functions: Annotations

Example

For an example, refer to LImageViewer::FlipAnnotationContainer.