(Document and Medical Imaging toolkits)
LEADTOOLS includes an alpha option that allows you to specify an alpha value from 0 (completely transparent background) to 255 (completely opaque background) inclusive.
When enabled using the L_AnnSetOptions function, you can right-click an annotation object to display the Fill dialog with the new alpha option. Here you can enter an alpha value from 0 to 255 inclusive. This figure displays the Fill dialog for the Stamp object.
The following figure displays rectangle annotation objects using different alpha values:
For more information, see the documentation for L_AnnGetFillMode and L_AnnSetFillMode.
The following rectangle annotation objects illustrate the available fill modes and patterns. The foreground and background colors help to illustrate the effects.
Rectangle Properties | Rectangle Properties | Rectangle Properties | Rectangle Properties |
---|---|---|---|
Back row | |||
Fill mode: Opaque | Fill mode: Opaque | Fill mode: Opaque | Fill mode: Opaque |
Fill pattern: Solid | Fill pattern: Cross | Fill pattern: Backward diagonal | Fill pattern: Vertical |
Fore color: Black | Fore color: Black | Fore color: Black | Fore color: Black |
Back color: Yellow | Back color: Yellow | Back color: Yellow | Back color: Yellow |
Front row | |||
Fill mode: Translucent | Fill mode: Transparent | Fill mode: Opaque | |
Fill pattern: Forward diagonal | Fill pattern: Diagonal cross | Fill pattern: Horizontal | |
Fore color: Black | Fore color: Black | Fore color: Red | |
Back color: Green | Back color: Green | Back color: Green |
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.