| ImageEn, unit imageenview |
|
TImageEnView.HighlightedPixel
Declaration
property HighlightedPixel: TPoint;
Description
Specify a pixel within your image and it will be highlighted by a colored box (to draw attention to it).
Set it to (-1, -1) to disable. Use
HighlightedPixelColor to specify the color of the box.
Note: HighlightedPixel has no effect unless
DisplayGridKind = iedgPixelGrid and the image is zoomed in enough to see the grid (e.g. more than 400%. See
MinZoomDisplayGrid).
Default: Point(-1, -1)
Demo
| Demos\Display\ImageComp\ImageComp.dpr |
Example
// Set HighlightedPixel
ImageEnView1.HighlightedPixel := Point( 100, 100 );
See Also
◼HighlightedPixelColor
◼DisplayGridKind
◼MinZoomDisplayGrid