LAnnotation::SetFillMode

#include "ltwrappr.h"

virtual L_INT LAnnotation::SetFillMode(uFillMode=ANNMODE_TRANSPARENT, uFlags=0)

L_UINT uFillMode;

/* constant that specifies the object's fill mode */

L_UINT uFlags;

/* reserved for future versions */

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

Parameter

Description

uFillMode

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

 

Value

Meaning

 

ANNMODE_TRANSPARENT

[0] Transparent

 

ANNMODE_TRANSLUCENT

[1] Translucent

 

ANNMODE_OPAQUE

[2] Opaque

 

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

uFlags

Reserved for future versions, use 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Note that the LAnnotation::SetROP2 function and the LAnnotation::SetFillMode function affect each other. If you set uFillMode to ANNFILLMODE_OPAQUE, then uROP2 cannot be ANNROP2_AND. If you set uFillMode to ANNFILLMODE_TRANSLUCENT, then uROP2 has to be ANNROP2_AND. If you set uFillMode to ANNFILLMODE_TRANSPARENT, uROP2 can be anything.

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:

LAnnotation::GetFillMode, LAnnAutomation::GetPolyFillMode, LAnnAutomation::SetPolyFillMode, LAnnotation::GetROP2, LAnnotation::SetROP2, Class Members, LAnnotation::GetFillModeExt, LAnnotation::SetFillModeExt, LAnnotation::GetOptions, LAnnotation::SetOptions

Topics:

Annotation Functions: Object Properties

Example

For an example, refer to LAnnotation::SetNameOptions.