LAnnotation::IsCreated

#include "ltwrappr.h"

L_BOOL LAnnotation::IsCreated()

Determines whether the class object has a created annotation object associated with it or not. This function is available in the Document/Medical Toolkits.

Returns

TRUE

The annotation object is created.

FALSE

The annotation object is not created.

Required DLLs and Libraries

LTANN

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:

Class Members

Example

L_INT LAnnotation_IsCreatedExample(LAnnotation LeadAnnotation)
{
   if (LeadAnnotation.IsCreated() == FALSE)
   {
      MessageBox(NULL, TEXT("Annotation was not created ..."), TEXT("Creating"),MB_OK);
      return FAILURE;
   }
   if (LeadAnnotation.IsValid() == TRUE)
      MessageBox(NULL, TEXT("Annotation has valid data ..."), TEXT("Validation"),MB_OK); 
	
	return SUCCESS;
}