TBGetProps¶
TBGetProps liefert die Properties einer Text-Box.
- o = TBGetProps(hTB)
Returnwert
o
text-box
Name |
Type |
Default Value |
Comment |
---|---|---|---|
type |
string |
text-box |
|
name |
string |
Object name |
|
@atts_xy_width_height |
|||
@atts_pen |
|||
flags |
@flags |
||
@atts_misc |
|||
@atts_background |
|||
halign |
@halign |
center |
Horizontal alignment: left, center (default), right |
valign |
@valign |
middle |
Top:8 middle:16 bottom:32 |
angle |
double |
0 |
|
edge-dist |
double |
0 |
|
auto-size |
double |
0 |
|
word-wrap |
bool |
0 |
|
clip-text |
bool |
0 |
|
text |
string |
||
%font |
%font |
atts_xy_width_height
Name |
Type |
Default Value |
Comment |
---|---|---|---|
x |
double |
1.0 |
x position in cm or diagram coordinates |
y |
double |
-1.0 |
|
width |
double |
1.0 |
|
height |
double |
1.0 |
atts_pen
Name |
Type |
Default Value |
Comment |
---|---|---|---|
stroke-type |
int |
0 |
|
stroke-width |
int |
1 |
|
stroke-color |
@color |
black |
atts_misc
Name |
Type |
Default Value |
Comment |
---|---|---|---|
shadow |
bool |
0 |
|
shadow-width |
double |
20 |
|
round-rect |
bool |
0 |
|
radius |
double |
0.3 |
|
show-edge |
bool |
0 |
atts_background
Name |
Type |
Default Value |
Comment |
---|---|---|---|
bkmode |
@bkmode |
transparent |
opaque:0 transparent:1 |
gradient |
bool |
0 |
|
gradient-colors |
@color |
white grey |
|
fill-color |
@color |
black |
font
Name |
Type |
Default Value |
Comment |
---|---|---|---|
type |
string |
font |
|
face-name |
string |
Arial |
|
size |
int |
9 |
|
weight |
int |
400 |
|
italic |
bool |
0 |
|
underline |
bool |
0 |
|
strike-out |
bool |
0 |
|
color |
@color |
black |
|
pitch-and-family |
int |
34 |
Parameter
- hTB
hTB ist die Zugriffsnummer (Handle) der mit TBCreate erzeugten Text-Box.
History
Version |
Description |
---|---|
R2016.0 |
Neu. |
Siehe auch
id-846829