LAnnContainer::GetFillMode
#include "ltwrappr.h"
virtual L_UINT LAnnContainer::GetFillMode(L_VOID)
Gets 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 are:
Value |
Meaning |
ANNMODE_TRANSPARENT |
[0] Transparent |
ANNMODE_TRANSLUCENT |
[1] Translucent |
ANNMODE_OPAQUE |
[2] Opaque |
Comments
To see the possible fill modes and patterns, refer to Illustration of Fill Options for Annotations.
Default is transparent.
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: |
|
Topics: |
Example
L_VOID TestModifyAnn (LAnnContainer L_FAR * pAnnObject)
{
L_UINT FillMode; /* Object fill mode */
/* Set the fill mode to transparent, unless it
already is */
FillMode = pAnnObject->GetFillMode();
if (FillMode == ANNMODE_TRANSPARENT)
MessageBox (NULL, TEXT("Already
transparent"), TEXT("Notice"), MB_OK);
else
pAnnObject->SetFillMode(ANNMODE_TRANSPARENT,
0);
}