IScreenOverlayXY80

This interface allows the user to get and set a point on a screen overlay or screen. This interface can be used in conjunction with the IScreenOverlay80 interface, to position a screen overlay by mapping a point on the overlay to a point on the screen.

 

 

Properties

 

X

Gets and sets the x-coordinate.

XUnit

Gets and sets an enum that determines the units of the X value.

Y

Gets and sets the y-coordinate.

YUnit

Gets and sets an enum that determines the units of the Y value.

X

Gets and sets the x-coordinate. Its units are defined by XUnit.

 

JavaScript

 

X

 

C#

 

double X{ get; set; }

 

C++

 

HRESULT X ([out, retval] double* pVal)

HRESULT X ([in] double* newVal)

XUnit

Gets and sets an enum that determines the units of the X value. The following are the possible values:

§   SO_UNIT_FRACTION = 0
The fraction of the offset from the bottom left corner. Values are between 0 and 1.

§   SO_UNIT_PIXEL = 1
The offset in pixels from the bottom left corner.

§   SO_UNIT_INSET_PIXELS = 2
The offset in pixels from the top right corner.

 

JavaScript

 

XUnit

 

C#

 

ScreenOverlayUnits XUnit{ get; set; }

 

C++

 

HRESULT XUnit([out, retval] ScreenOverlayUnits* pVal)

HRESULT XUnit([in] ScreenOverlayUnits* newVal)

 

Y

Gets and sets the y-coordinate of a point on the screen overlay. Its units are defined by YUnit.

 

JavaScript

 

Y

 

C#

 

double Y{ get; set; }

 

C++

 

HRESULT Y ([out, retval] double* pVal)

HRESULT Y ([in] double* newVal)

YUnit

Gets and sets an enum that determines the units of the Y value. The following are the possible values:

§   SO_UNIT_FRACTION = 0
The fraction of the offset from the bottom left corner. Values are between 0 and 1.

§   SO_UNIT_PIXEL = 1
The offset in pixels from the bottom left corner.

§   SO_UNIT_INSET_PIXELS = 2
The offset in pixels from the top right corner.

 

JavaScript

 

YUnit

 

C#

 

ScreenOverlayUnits YUnit{ get; set; }

 

C++

 

HRESULT YUnit([out, retval] ScreenOverlayUnits* pVal)

HRESULT YUnit([in] ScreenOverlayUnits* newVal)