RenderAreaListenerOnRequestedSize Method |
Triggered when a client requests a new renderArea size.
Namespace: OIV.RemoteViz.RenderingAssembly: 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
)
Public Overridable Sub OnRequestedSize (
renderArea As RenderArea,
sender As Connection,
width As UInteger,
height As UInteger
)
public:
virtual void OnRequestedSize(
RenderArea^ renderArea,
Connection^ sender,
unsigned int width,
unsigned int height
)
abstract OnRequestedSize :
renderArea : RenderArea *
sender : Connection *
width : uint32 *
height : uint32 -> unit
override OnRequestedSize :
renderArea : RenderArea *
sender : Connection *
width : uint32 *
height : uint32 -> unit
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)