L_DispContainerGetSelectedNorbergValue

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerGetSelectedNorbergValue(hCellWnd, nSubCellIndex, pnFirstAngle, npSecondAngle)

L_HWND hCellWnd;

handle to the cell window

L_INT nSubCellIndex;

index into the image list attached to the cell

L_DOUBLE * pnFirstAngle;

pointer to a variable to be updated

L_DOUBLE * pnSecondAngle;

pointer to a variable to be updated

Retrieves the angles of the selected norberg annotation object.

Parameter/p>

Description

hCellWnd

A handle to the window that represents the cell on which the function's effect will be applied.

nSubCellIndex

A zero-based index into the image list attached to the cell specified in hCellWnd. This sub-cell contains the selected norberg annotation object. Pass -2 to apply this effect on the selected sub-cell.

pnFirstAngle

Pointer to a variable to be updated with the first angle of the norberg annotation object, the one on the left.

pnSecondAngle

Pointer to a variable to be updated with the second angle of the norberg annotation object, the one on the right.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To create a norberg annotation, add the action using the function L_DispContainerAddAction and pass the action id CONTAINER_ACTION_ANNOTATION_NORBERG, then set the action by passing the formentioned action id to the function L_DispContainerSetAction.

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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Medical Image Viewer C API Help