Click or drag to resize
RenderAreaListenerOnRequestedSize Method

Triggered when a client requests a new renderArea size.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public virtual void OnRequestedSize(
	RenderArea renderArea,
	Connection sender,
	uint width,
	uint height
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: the OIV.RemoteViz.Rendering.RenderArea of the OIV.RemoteViz.Rendering.Connection

sender
Type: OIV.RemoteViz.RenderingConnection

: the connection that made the size request

width
Type: SystemUInt32

: requested width

height
Type: SystemUInt32

: requested height

Remarks

To resize the renderArea, call the method OIV.RemoteViz.Rendering.RenderArea.Resize(System.UInt32, System.UInt32). Default behavior : Resize the renderArea to the requested size.

See Also

Reference

OIV.RemoteViz.Rendering.RenderAreaListener.OnResize(OIV.RemoteViz.Rendering.RenderArea, System.UInt32, System.UInt32)
OIV.RemoteViz.Rendering.RenderArea.Resize(System.UInt32, System.UInt32)