grafic function ttg_addframe()

T&T Grafic function ttg_addframe

ttg_addframe() has no parameters. It draws a rectangle into the target bitmap painting the top and bottom pixel rows and the leftmost and rightmost pixel columns in the color defined with ttg_pen().

If you want to print labels on a page and design each label as an individual bitmap, it might be helpful to firstly use ttg_addgrid() for the whole page (gPrintCoords = 'FULL') and evaluate the position, width and height of the labels. When the labels are designed, a ttg_addframe() will help to check for correct measures and a ttg_addframe() for the page to be printed will show you the correct alignment.