AnnSetFillMode method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetFillMode(long hObject, short nFillMode, VARIANT_BOOL bSelected);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Sets the fill mode of one or more annotation objects.

This method does not affect objects that do not have this property or that do not let you change the property. For descriptions of the various types of objects and their properties, refer to Types of Annotations.

Note that the AnnSetROP2 method and the AnnSetFillMode method affect each other. If you set nFillMode to ANN_FILLMODE_OPAQUE, then nROP2 cannot be ANN_ROP2_AND. If you set nFillMode to ANN_FILLMODE_TRANSLUCENT, then nROP2 has to be ANN_ROP2_AND. If you set nFillMode to ANN_FILLMODE_TRANSPARENT, nROP2 can be anything.

If the value of the AnnContainer property is passed as the hObject parameter, the method will modify all the annotations in the container depending on the value of bSelected parameter.

If the value of the AnnAutomation property is passed as the hObject parameter, the method will modify the default values used whenever an annotation is created.

See Also

Elements

AnnAlpha property, AnnAutoSnapCursor property, AnnCalibrateRuler method, AnnFillMode property, AnnGetFillModeExt method, AnnGetOptions method, AnnGetRotateOptions method, AnnGetTextOptions method, AnnSetFillModeExt method, AnnSetOptions method, AnnSetRotateOptions method, AnnSetTextOptions method, AnnShowBorder property, AnnShowRotateHandles property, AnnShowText property, AnnTextColor property, AnnTextEdit method, AnnSetFillPattern method, AnnGetFillPattern method, AnnGetFillMode method, AnnGetPolyFillMode method, AnnSetPolyFillMode method, AnnSetBackColor, AnnSetForeColor, AnnGetSelected, AnnSetSelected, AnnGetTransparent, AnnSetTransparent, AnnGetTransparentColor, AnnSetTransparentColor

Topics

Annotations (Document/Medical only): Object Manipulation