Click or drag to resize
SbViewportRegionScaleWidth Method
Scales viewport within window to be the given ratio of its current width, leaving the resulting viewport centered about the same point as the current one.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2026.1.0.Release.0310c5a2706944284e5b97cec8929e1e2f70c73d
Syntax
public void ScaleWidth(
	float ratio
)

Parameters

ratio
Type: SystemSingle
Width viewport ratio.
See Also