LAnnStamp::GetFillMode

#include "ltwrappr.h"

virtual L_UINT LAnnStamp::GetFillMode()

NOTE:

THIS FUNCTION IS NOW INHERITED DIRECTLY FROM THE PARENT LANNOTATION CLASS.

The fill mode of the annotation object. This function is available in the Document/Medical Toolkits.

Returns

The object's fill mode constant.Possible values of the fill mode are:

ANNMODE_TRANSPARENT [0]

ANNMODE_TRANSLUCENT [1]

ANNMODE_OPAQUE [2]

Comments

To see the possible fill modes and patterns, refer to Illustration of Fill Options for Annotations.

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

Topics:

Annotation Functions: Object Properties

Example

L_INT LAnnStamp_GetFillModeExample(LAnnStamp  * pAnnObject)
{
	L_INT nRet = SUCCESS ;
   L_UINT uFillMode; /* Object fill mode */
   /* Set the fill mode to transparent, unless it already is */
   
   nRet = pAnnObject->GetFillMode(&uFillMode, NULL);
   if (nRet != SUCCESS)
      return nRet;
   if (uFillMode == ANNMODE_TRANSPARENT)
       MessageBox (NULL, TEXT("Already transparent"), TEXT("Notice"), MB_OK);
   else
       nRet = pAnnObject->SetFillMode(uFillMode, ANNMODE_TRANSPARENT, 0);
	return nRet;
}