Home Cooker Classes Others Rice CookerGX
Classes  >  browser  >  PointToScreen(int,int)
browser class : PointToScreen(int,int) method

Description

Converts the client coordinates on the web browser to the screen coordinates.

Syntax

browserInstance.PointToScreen(int x, int y)

Arguments

ClassNameDescription
intxx-coordinate of the client coordinates.
intyy-coordinate of the client coordinates.

Return value

None

Sample code

//b is a instance of browser type.

int x = 100;

int y = 100;

b.PointToScreen(x, y);//The individual conversion values are stored in the arguments after the execution.

Notes

It's a wrapper of the System.Windows.Forms.WebBrowser.PointToScreen(Point).

The client coordinates(in pixels) on the web browser which is passed by the arguments will be converted to screen coordinates(in pixels).

The return value which is converted will be stored in the argument.

Links for reference

Copyright © Rice All rights reserved.