MultiLineTextDefinition.verticalAlignment Property

Parent Object: MultiLineTextDefinition
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/MultiLineTextDefinition.h>

Description

Gets and sets the vertical alignment of the text with respect to the text rectangle.

Syntax

"multiLineTextDefinition_var" is a variable referencing a MultiLineTextDefinition object.

# Get the value of the property.
propertyValue = multiLineTextDefinition_var.verticalAlignment

# Set the value of the property.
multiLineTextDefinition_var.verticalAlignment = propertyValue
"multiLineTextDefinition_var" is a variable referencing a MultiLineTextDefinition object.
#include <Fusion/Sketch/MultiLineTextDefinition.h>

// Get the value of the property.
VerticalAlignments propertyValue = multiLineTextDefinition_var->verticalAlignment();

// Set the value of the property, where value_var is a VerticalAlignments.
bool returnValue = multiLineTextDefinition_var->verticalAlignment(value_var);

Property Value

This is a read/write property whose value is a VerticalAlignments.

Version

Introduced in version December 2020