Click or drag to resize
ServiceCreateRenderArea Method

Forces the creation of a renderArea.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public void CreateRenderArea(
	string id,
	uint width,
	uint height,
	RenderAreaHardware renderAreaHardware
)

Parameters

id
Type: SystemString

: ID identifying the OIV.RemoteViz.Rendering.RenderArea

width
Type: SystemUInt32

: renderArea width

height
Type: SystemUInt32

: renderArea height

renderAreaHardware
Type: OIV.RemoteViz.RenderingRenderAreaHardware

: renderArea hardware settings.

Remarks

This method is optional. The other way to create a renderArea is to return true to the callback OIV.RemoteViz.Rendering.ServiceListener.OnPendingCreateRenderArea(System.String, System.UInt32@, System.UInt32@, OIV.RemoteViz.Rendering.RenderAreaHardware, OIV.RemoteViz.Rendering.Client, OIV.RemoteViz.Rendering.ConnectionParameters) when a connection requests it. If the renderArea already exists, the call will be ignored.

See Also