ClientToBitmap method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int __fastcall ClientToBitmap (float X, float Y);

Delphi Syntax

Function ClientToBitmap (X: Single; Y: Single): Integer;

Overview

Refer to Displaying an Image.

Remarks

Converts the given client coordinates to bitmap coordinates.

Calling this method will update the ConvertX and ConvertY properties with the converted values.

SeeAlso

Elements:

BitmapToClient method, BitmapWidth property, BitmapHeight property, ConvertX property, ConvertY property

Topics:

Working with the Control: Client Area Usage

 

Raster Images: Displaying Images