Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.FitTextToPath


CorelScript.FitTextToPath

Function FitTextToPath(TextOrientation As Long, VertAlign As Long, HorizAlign As Long, CurveSideToFit As Long, FitOtherSide As Boolean, HorizOffset As Long, DistFromPath As Long) As Long

Description

Member of CorelScript

The FitTextToPath method fits selected artistic text to the selected path.

Parameter
Description
TextOrientation
Specifies text orientation:
 
0 = rotates individual characters to follow the contours of the path
 
1 = does not change the characters
 
2 = vertically skews each character, creating the impression that the text is standing upright on the path
 
3 = horizontally skews each character, creating the impression that the text is turning in toward the screen
VertAlign
Specifies the vertical alignment:
 
0 = lets you move the text off the path by dragging with the mouse
 
1 = aligns the descender line of the text with the path
 
2 = aligns the ascender line of the text with the path
 
3 = centers the text vertically on the path
 
4 = aligns the baseline of the text with the path
lf a distance from the path is specified, this parameter has no effect.
HorizAlign
Specifies the horizontal alignment:
 
1 = aligns the text with the start node of the line or curve
 
2 = aligns the text with the end point of the line or curve
 
3 = centers the text on the path
CurveSideToFit
Specifies the alignment of closed objects:
 
1 = aligns the text to the top of a closed object
 
2 = aligns the text to the left of a closed object
 
3 = aligns the text to the bottom of a closed object
 
4 = aligns the text to the right of a closed object
FitOtherSide
Specifies whether to place the text on the other side of the path. True (-1) enables this option.
HorizOffset
Specifies the distance by which the text is offset from the start node
DistFromPath
Specifies the distance of the text from the path

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.