SketchTextInput.setAsAlongPath Method
Parent Object:
SketchTextInputDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchTextInput.h>
Description
Sets this SketchTextInput to define text that follows along a specified path.
Syntax
"sketchTextInput_var" is a variable referencing a SketchTextInput object.returnValue = sketchTextInput_var.setAsAlongPath(path, isAbovePath, horizontalAlignment, characterSpacing)
|
"sketchTextInput_var" is a variable referencing a SketchTextInput object.
#include <Fusion/Sketch/SketchTextInput.h>
returnValue = sketchTextInput_var->setAsAlongPath(path, isAbovePath, horizontalAlignment, characterSpacing);
|
Return Value
boolean |
Returns true if the setting the definition was successful. |
Parameters
path |
Base |
The entity that defines the path for the text. This can be a SketchCurve or BRepEdge object. |
isAbovePath |
boolean |
Indicates if the text should be positioned above or below the path entity. |
horizontalAlignment |
HorizontalAlignments |
Specifies the horizontal alignment of the text with respect to the path curve. |
characterSpacing |
double |
The percentage change in default spacing between characters. |
Samples
Version
Introduced in version December 2020