CorelScript.EditDimensionLabel
Function EditDimensionLabel( Placement As Integer , Horizontal As Boolean , Center As Boolean , Dynamic As Boolean , Style As Integer , Precision As Integer , Units As Integer , ShowUnits As Boolean , Prefix As String , Suffix As String ) As Long
Description
Member of CorelScript
The EditDimensionLabel method lets you change the properties of a vertical, horizontal, or slanted dimension label.
Parameter
Description
Placement
Specifies where to place the text:
•
0 = above the dimension line
•
1 = within the dimension line
•
2 = below the dimension line
Horizontal
Specifies whether to place the text horizontally. True enables this option.
Center
Specifies whether to center the text in the dimension line. True enables this option.
Dynamic
Specifies whether the dimension text changes automatically when the object is stretched or skewed. True enables this option.
Style
Specifies the style:
Precision
Specifies the precision level, depending on the value of the Style parameter:
•
1 = 0.0 or 01/2 or 0'-0" or 0'-0"
•
2 = 0.00 or 01/4 or 0'-0.0" or 0'-01/4"
•
3 = 0.000 or 01/8 or 0'-0.00" or 0'-01/8"
•
4 = 0.0000 or 01/16 or 0'-0.000" or 0'-
01/16"
•
5 = 0.00000 or 01/32 or 0'-0.0000" or 0'-
01/32"
•
6 = 0.000000 or 01/64 or 0'-0.00000" or
0'-01/64"
•
7 = 0.0000000 or 01/128 or 0'-
0.000000" or 0'-01/128"
•
8 = 0.00000000 or 01/256 or 0'-
0.0000000" or 0'-01/256"
•
9 = 0.000000000 or 01/512 or 0'-
0.00000000" or 0'-01/512"
•
10 = 0.0000000000 or 01/1024 or 0'-
0.000000000" or 0'-01/1024"
Units
Specifies the units:
ShowUnits
Specifies whether to display the units beside the dimension text. True enables this option.
Prefix
Specifies that the prefix is attached to the dimension text
Suffix
Specifies that the suffix is attached to the dimension text
Copyright 2013 Corel Corporation. All rights reserved.