L_DispContainerGetCobbAngleValue

#include "ltivw.h"

L_LTIVW_API L_INT EXT_FUNCTION L_DispContainerGetCobbAngleValue (hCellWnd, nSubCellIndex, hAttachedLine, pnAngle)

HWND hCellWnd;

handle to the cell window

L_INT nSubCellIndex;

index into the image list attached to the cell

HANNOBJECT hAttachedLine;

handle for one of the annotation lines

L_DOUBLE * pnAngle;

address of the variable to be updated

Gets the cobb-angle value using one of the two lines that is used to create the cobb angle.

Parameter 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 nCellIndex. This sub-cell is the one where that the cobb-angle is placed. Pass -2 to refer to the selected sub-cell. If the cell contains 1 frame then the nSubCellIndex should be 0.
hAttachedLine Handle to the one of the two annotation lines that creates the cobb angle.
pnAngle Address of the variable to be updated with the cobb angle value of the specfied line hAttachedLine if such value is found.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To create a cobb angle, you must add two lines to the sub-cell / cell, then pass them to the function L_DispContainerAddCobbAngle.

To remove a cobb angle to the cell, use the function L_DispContainerRemoveCobbAngle.

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