Click or drag to resize
SoWinDeviceSetWindowSize Method

Sets the size of the window this device is registered for.

Namespace: OIV.Inventor.Win.Devices
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void SetWindowSize(
	SbVec2s s
)

Parameters

s
Type: OIV.InventorSbVec2s
Remarks

This allows the device to correctly convert position information from Windows coordinates (origin at top left) to Open Inventor window coordinates (origin at bottom left). (OIV.Inventor.Win.SoWinRenderArea will automatically call this method for each device registered on it whenever the window size changes.) Note: Setting the window size only affects the size as perceived by the device and not the actual window size.

See Also