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.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void ScaleWidth(
float ratio
)
Public Sub ScaleWidth (
ratio As Single
)
public:
void ScaleWidth(
float ratio
)
member ScaleWidth :
ratio : float32 -> unit
Parameters
- ratio
- Type: SystemSingle
Width viewport ratio.
See Also