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: 9.9.13.0.Release.1490cabe7ee249bd6cc986579d4e6231040bc6f5
Syntaxpublic 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