RenderAreaListenerOnRequestedSize Method |
Triggered when a client requests a new renderArea size.
Namespace: OIV.RemoteViz.Rendering
public virtual void OnRequestedSize( RenderArea renderArea, Connection sender, uint width, uint height )
: pointer to the OIV.RemoteViz.Rendering.RenderArea
: pointer to the connection that made the size request
: requested width
: requested height
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)