TagText

New in version 5.0

TagText ( text ;​ font ;​ size ;​ style ;​ color ;​ hAlignment ;​ textWidthMax ;​ textHeightMax ;​ ellipsisPosition ;​ shadowEffect ;​ shadowColor )

Argument Type Range Default Note
text styt 0..10000 "" Max. 10000 chars.
font str 0..1000 ApplFont
size num 0..1000 9 Dimension:[pt]
style int 0..7 plain
color rgba 0..255 black
hAlignment int 1..3 left
textWidthMax num -1..10000 -1 Dimension:[pt]
textHeightMax num -1..10000 -1 Dimension:[pt]
ellipsisPosition int 0..4 3
shadowEffect num[] -1000..1000 0
shadowColor rgba 0..255 #888a
Examples

TagText("Distribution Test 9632";​Arial;​14)

Description

A tag consists of a text object and an optional symbol or picture object and an optional background.

TAG_TEXT_01
1

OpenDrawing(260;​160)

2

OpenTag(130;​80;​center;​center)

3

TagPicture(39;​52;​right;​center;​15;​stream;​"iVBORw0KGgoAAAANSUhEUgAA​AB4AAAAoCAIAAABmcd1FAAACd​UlEQVRIx2OccdaUgTaAiYFmgO​n/fwYaISaG/ww0QozTTpsQ9Nq​zO99X9z16cPWrkDi7Y6SYTaAo​MQHCOO2UCUFzO+Kv/fn9Hy7ik​SjplylNRFgT8tnOhc+RzQWCvc​te/vr5j6BGwmH99M53NOf8/vn​vzdOfBDUSTiHCUuxoRjOzMvKL​sBGRQggB3wxpoFnIIm5xkpw8z​MSkawJAUomjcIa6iiEvExMj0A​eBeTJeKZL/iQCMk48Z0yg3Mk7​Ca/TrJz9vn/385Pa3f38RiURc​jkNajUvNmJeQ0UexG/339/+Zp​XdunP6ES6ewJHveVDVBcTbcxR​OOpHP58Ac85gLB2+c/t815hjf​x4ZD69O43xAgeARZMcyGCb5/9​IifLfP/yF5KE+YRYMY2GhMOXD​7/xuxp7kocYLSDC+h9baPCLgu​z7/vUvnkyD09U/vv4FG4E9loC​5EUj+AFpPRkaHuloMu9GCYiBX​//z+78+v/yRndKjRoqzYjYalu​e9gz5FWgUEChE8Yu9F8ImxwF5​BcgX379BfscewBwsXDzM7JhD+​4cacQiKuRAgRiFgQAFfCLgKS+​fvpDZgoRRDJaSBKp4P4PjWG8r​sZhqbg8h4waFxc/CwMsYYvKsC​OZzCCvxQ1UwMTCSHIKKZiuDkT​AMhouIiKNUt24J0gCFWhb8ZPf​xEEkOAlElBLXxCEa8PCzcPEyk​9QwIwRggc3Jy8zJy4JIIoQAEQ​0zGODmY+HkZkbEI8HGAvEe5AK​5mpmaLVU4AIYGPKyp11JlYGBl​Y2JmZuTmZ0HONYRaT8QFNTAo/​oMdTnRQMxAbjTzgbMnBRUI0Mr​Zv1x+CfZkhaTQAZhyc0O25ucY​AAAAASUVORK5CYII=";​2;​teal;​0;​2 2 3;​#aaaa)

4

TagText(" <span size=16><b>L</b></span>orem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip <span color=red><i>ex ea commodo</i></span> consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";​Verdana;​10;​plain;​black;​left;​165;​120)

5

Background(#f3f6f2;​0;​0;​;​;​2 2 2;​lightGray)

6

BackgroundOptions(6;​8 15 15 15)

7

CloseTag()

8

CloseDrawing()

TAG_TEXT_01

More examples can be found under TagPicture() and TagSymbol() .

For further information, e.g. styled texts, hyphenation, please refer to Texts.

Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×