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.3.0.0 (10.3.0.0)
Syntax
public virtual void OnRequestedSize(
	RenderArea renderArea,
	Connection sender,
	uint width,
	uint height
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: pointer to the OIV.RemoteViz.Rendering.RenderArea

sender
Type: OIV.RemoteViz.RenderingConnection

: pointer to 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.

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

See Also