Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

Illustration of Fill Options for Annotations

Show in webframe

(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:

image\alpha.gif

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.

Back row:

Fill mode: Opaque
Fill pattern: Solid
Fore color: Black
Back color: Yellow

Fill mode: Opaque
Fill pattern: Cross
Fore color: Black
Back color: Yellow

Fill mode: Opaque
Fill pattern: Backward diagonal
Fore color: Black
Back color: Yellow

Fill mode: Opaque
Fill pattern: Vertical
Fore color: Black
Back color: Yellow

Front row:

Fill mode: Translucent
Fill pattern: Forward diagonal
Fore color: Black
Back color: Green

Fill mode: Transparent
Fill pattern: Diagonal cross
Fore color: Black
Back color: Green

Fill mode: Opaque
Fill pattern: Horizontal
Fore color: Red
Back color: Green

image\afillill.gif

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.