Method GetGeometry
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetGeometry(int, int, int, int, int, bool, bool, int)
Creates a Qt Base64 encoded string with Size/Position data for a windowed projector.
public static string GetGeometry(int screenNumber, int x, int y, int width, int height, bool maximized, bool fullscreen, int screenWidth)
Parameters
screenNumberintThe screen number. See GetMonitorList(CancellationToken).
xintThe horizontal coordinate of the left top of the Window.
yintThe vertical coordinate of the left top of the Window.
widthintThe width of the Window.
heightintThe height of the Window.
maximizedboolWhether the Window is Maximized. (This overrides x, y, width and height.)
fullscreenboolWhether the Window is Full Screen. (This overrides maximized, x, y, width and height.)
screenWidthintThe width of the screen. See GetMonitorList(CancellationToken).
Returns
- string
A Qt Base64 encoded string with Size/Position data for a windowed projector.