TagPicture

New in version 5.0

TagPicture ( width ;​ height ;​ position ;​ alignment ;​ gap ;​ sourceType ;​ sourceData ;​ borderStroke ;​ borderColor ;​ borderColorVariant ;​ shadowEffect ;​ shadowColor )

Argument Type Range Default Note
width num 0..10000 (image width) Dimension:[pt]
height num 0..10000 (image height) Dimension:[pt]
position num 1..4 left Relative to text
alignment num 1..3 2
gap num -10000..+10000 2%
sourceType int 1..4 clipboard
sourceData str ""
borderStroke num[] 0..1000 0 Dimension:[pt]
borderColor rgba 0..255 none
borderColorVariant int -1..128 solid
shadowEffect num[] -1000..1000 0
shadowColor rgba 0..255 #888a
Examples

TagPicture(30;​40;​left;​center;​15;​stream;​"data:image/png;base64,​iVBORw0KGgoAAAANSUhEUgAAA​B4A...")

Description

A tag consists of a text object and an optional symbol or picture object and an optional background. The arguments sourceType and sourceData are explained in detail in Import Images, together with various examples showing how they are applied.

TAG_PICTURE_01
1

OpenDrawing(250;​150)

2

OpenTag(20;​20)

3

TagPicture(30;​40;​left;​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=")

4

TagText("<span size=16><b>L</b></span>orem ipsum dolor sit amet,​ consectetur adipiscing e​lit, sed do eiusmod <b​><i>tempor incid​idunt</i></b>​ ut labore et dolore magn​a aliqua. Ut enim ad mini​m veniam, quis nostrud ex​ercitation ullamco labori​s nisi ut aliquip ex ea c​ommodo consequat. Duis au​te irure dolor in reprehe​nderit in voluptate velit​ esse cillum dolore eu fu​giat nulla pariatur. Exce​pteur sint occaecat cupid​atat non proident, sunt i​n culpa qui officia deser​unt mollit anim id est la​borum.";​Verdana;​11;​plain;​black;​left;​170;​100)

5

CloseTag()

6

/* Background() // Uncomment while positioning the tag element. */

7

CloseDrawing()

TAG_PICTURE_01

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

Scroll to Top