PenColor property (TAnnHandle)

C++ Builder example

Delphi example

 

C++ Builder Syntax

TColor PenColor

Delphi Syntax

PenColor: TColor

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets the color of the pen used to draw the user handle (the outline of the handle).

VCL uses the TColor enumerated data type that covers the values that can be returned by the Windows RGB macro. To convert from a TColor value to a COLORREF value, call the ColorToRGB method. To convert from a COLORREF value to a TColor value, cast the COLORREF value to a TColor type.

See Also

Elements:

AnnHandle property, AnnGetUserHandle method, AnnAddUserHandle method, ID property (TAnnHandle), ContainerX property (TAnnHandle), ContainerY property (TAnnHandle), ClientX property (TAnnHandle), ClientY property (TAnnHandle), Visible property (TAnnHandle), FillColor property (TAnnHandle), Shape property (TAnnHandle), Cursor property (TAnnHandle), Flags property (TAnnHandle)

Topics:

Annotations: Object Manipulation

 

Using Color Values in LEADTOOLS