Click or drag to resize
PoBaseViewviewportSize Property

Size of the viewport of the view.

Namespace: OIV.Inventor.Gui.View
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoSFVec2f viewportSize { get; }

Property Value

Type: SoSFVec2f
Remarks

viewportSize[0] is the viewport's width and viewportSize[1] is the viewport's height, each in normalized space. Therefore viewportOrigin[0]+viewportSize[0] and viewportOrigin[1]+viewportSize[1] must be less than or equal to 1. Default is 1,1.

See Also