Palette.height Property

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

Description

Gets and sets the height of the palette. Setting this property may not always set the height. Depending on how the palette is docked or snapped, the height may not be editable.

Syntax

"palette_var" is a variable referencing a Palette object.

# Get the value of the property.
propertyValue = palette_var.height

# Set the value of the property.
palette_var.height = propertyValue
"palette_var" is a variable referencing a Palette object.
#include <Core/UserInterface/Palette.h>

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

// Set the value of the property, where value_var is an integer.
bool returnValue = palette_var->height(value_var);

Property Value

This is a read/write property whose value is an integer.

Version

Introduced in version March 2017