AnnGetTransparent method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

VARIANT_BOOL AnnGetTransparent(long hObject);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets a value indicating whether the bitmap the object is using is using a transparent color. A transparent color is not painted when the image is painted.

The AnnGetTransparent method is valid only for the following object types when they are using a bitmap:

Point

Stamp (including the Rubber Stamp tools)

In addition, the Automation object stores transparency settings along with the other object default settings

Call the AnnSetTransparent method to set such objects to use a transparent color. By default the transparent color is white (0x00FFFFFF). Call the AnnSetTransparentColor method to set the color to be used as the transparent color. Call the AnnGetTransparent method to get a value that indicates whether the bitmap being used by the annotation object is using a transparent color. Call the AnnGetTransparentColor method to get a value that indicates which color is being used as the transparent color.

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, AnnSetTransparent method, AnnGetROP2 method, AnnSetROP2 method

Topics

Annotations (Document/Medical only): Bitmap

 

Annotations (Document/Medical only): Displaying Annotations

 

Annotations (Document/Medical only): Getting and Setting Color Properties

 

Displaying and Manipulating Annotation Objects

 

Implementing Transparency

 

Obtaining Annotation Object Information