LEADTOOLS Raster Imaging C DLL Help > LEADTOOLS Raster Imaging Features > Annotations > Used Structures > ANNHITTESTINFO |
typedef struct tagANNHITTESTINFO
{
L_UINT uStructSize; //size of this structure
L_INT nHandleIndex;
L_INT nHandleID;
L_INT nReserved;
}ANNHITTESTINFO, *pANNHITTESTINFO;
The ANNHITTESTINFO structure provides hit test information for the L_AnnHitTest function.
Member |
Description |
uStructSize |
Size of this structure. Use sizeof(HITTESTINFO). |
nHandleIndex |
This is the zero-based index of the handle. This field is valid only if puResult of L_AnnHitTest is updated with either ANNHIT_HANDLE or ANNHIT_USER_HANDLE. The default handles and the user handles are maintained internally as separate arrays of handles. This means that there is both a default handle "0" and a user handle "0". This index can be used with other annotation handle functions. |
nHandleID |
The unique ID associated with the user handle. The ID can be set with the L_AnnAddUserHandle, L_AnnChangeUserHandle, L_AnnEnumerateHandles functions. |
nReserved |
Reserved for future use. Set this field to zero. |
Comments
For an example showing the use of this structure, refer to L_AnnHitTest.
See Also
Functions: |
L_AnnHitTest, L_AnnAddUserHandle, L_AnnChangeUserHandle, L_AnnEnumerateHandles |