virtual L_UINT LAnnRectangle::GetFillMode(puFillMode, pnAlpha)
NOTE: THIS FUNCTION IS NOW INHERITED DIRECTLY FROM THE PARENT LANNOTATION CLASS.
Gets the fill mode and alpha of the specified annotation object.
Pointer to a variable to be updated with the object's fill mode constant. Possible fill mode values are:
Value | Meaning |
---|---|
ANNMODE_TRANSPARENT | [0] Transparent |
ANNMODE_TRANSLUCENT | [1] Translucent |
ANNMODE_OPAQUE | [2] Opaque |
ANNMODE_ALPHA | [3] Alpha |
Pointer to a variable to be updated with the objects alpha value. This is only valid if the fill mode puFillMode is updated with is ANNMODE_ALPHA. Possible values range from 0 to 255 where:
Value | Meaning |
---|---|
0 | Transparent background. |
255 | Opaque background. |
The object's fill mode constant. Possible values are:
To see the possible fill modes and patterns, refer to Illustration of Fill Options for Annotations.
Win32, x64.
L_INT LAnnRectangle_GetFillModeExample(LAnnRectangle * 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;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.