Viewport.height Property

Parent Object: Viewport
Defined in namespace "adsk::core" and the header file is <Core/Application/Viewport.h>

Description

Returns the height of the viewport in pixels.

Syntax

"viewport_var" is a variable referencing a Viewport object.

# Get the value of the property.
propertyValue = viewport_var.height
"viewport_var" is a variable referencing a Viewport object.
#include <Core/Application/Viewport.h>

// Get the value of the property.
integer propertyValue = viewport_var->height();

Property Value

This is a read only property whose value is an integer.

Version

Introduced in version August 2014