Table of Contents

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

screenNumber int

The screen number. See GetMonitorList(CancellationToken).

x int

The horizontal coordinate of the left top of the Window.

y int

The vertical coordinate of the left top of the Window.

width int

The width of the Window.

height int

The height of the Window.

maximized bool

Whether the Window is Maximized. (This overrides x, y, width and height.)

fullscreen bool

Whether the Window is Full Screen. (This overrides maximized, x, y, width and height.)

screenWidth int

The width of the screen. See GetMonitorList(CancellationToken).

Returns

string

A Qt Base64 encoded string with Size/Position data for a windowed projector.

Remarks