AnnGetTransparentColor method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

OLE_COLOR AnnGetTransparentColor(long hObject);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Retrieves the transparent color set by the AnnSetTransparentColor method.

By default the transparent color is white (0x00FFFFFF). A transparent color is not painted when the image is painted. For information on how LEADTOOLS uses colors, refer to Using Color Values in LEADTOOLS.

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

Automation

Point

Stamp (including the Rubber Stamp tools)

Call the AnnSetTransparent method metod to set such objects to use a transparent color. 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.

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, AnnSetTransparentColor method, AnnSetTransparent method

Topics

Annotations (Document/Medical only): Bitmap

 

Annotations (Document/Medical only): Displaying Annotations

 

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

 

Using Color Values in LEADTOOLS

 

Displaying and Manipulating Annotation Objects

 

Implementing Transparency

 

Obtaining Annotation Object Information