MultiLineTextDefinition.horizontalAlignment Property

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

Description

Gets and sets the horizontal 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.horizontalAlignment

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

// Get the value of the property.
HorizontalAlignments propertyValue = multiLineTextDefinition_var->horizontalAlignment();

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

Property Value

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

Version

Introduced in version December 2020