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: 10.12.3.0 (10.12.3.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