Table of Contents

Method AddOpenSourceProjectorRequest

Namespace
OBSStudioClient.Messages
Assembly
OBSClient.dll

AddOpenSourceProjectorRequest(SourceRef, int?, string?, Guid?)

Adds a OpenSourceProjector request to the batch.

public void AddOpenSourceProjectorRequest(SourceRef source, int? monitorIndex = null, string? projectorGeometry = null, Guid? canvasUuid = null)

Parameters

source SourceRef

The source to open a projector for, by name or by UUID.

monitorIndex int?

Monitor index, use GetMonitorList to obtain index. If omitted: -1: Opens projector in windowed mode.

projectorGeometry string

Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with monitorIndex.

canvasUuid Guid?

UUID of the canvas the source is in, if the source is given by name.

Remarks

Opens a projector for a source.

Note: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.