Working with Lines and Rectangles
Designing Label Structure and Borders
Learn how to design label structures and borders using lines and rectangles.
EntomoLabels WEB 9.0
01Introduction
Lines and rectangles help organize label information, separate sections, create borders and highlight important text with color. Like Text and TextBox, they are independent template elements.
In the previous guide Working with Text – Formatting Label Content we discussed text formatting. We will now combine it with graphical elements to create two examples of scientific labels. All screenshots are from EntomoLabels WEB 9.0; the diagrams are illustrative.


02Line and Rectangle
In the Object section, choose the appropriate type from the Add list (Line or Rectangle), then use the add-object button next to the list. Select the element on the Canvas or from the Select list.
| Property | Line | Rectangle |
|---|---|---|
| Geometry | X1, Y1, X2, Y2 | X, Y, W, H |
| Outline thickness, style and color | Yes | Yes |
| Fill | No | Yes |
| Rounded corners | No | Yes |
The controls for the selected element are located in the Line / Rectangle and Objectsections. Geometric coordinates and dimensions are expressed in millimeters.


03Working with Lines
A line is defined by two endpoints: (X1, Y1) and (X2, Y2). X increases to the right and Y increases downward from the upper-left corner of the label. Select the line and drag either green handle on the Canvas to move the corresponding endpoint. Alternatively, enter precise values in the Object section.

For a perfectly horizontal line, set Y1 and Y2 to the same value. For a vertical line, set X1 = X2. If both X and Y differ between endpoints, the line is diagonal. The endpoints must be distinct for the line to have a nonzero length.

04Formatting Lines
Thickness
Select a line and change the thickness value in the Line / Rectangle section. A higher value produces a thicker line. Match the thickness to the label size and the purpose of the line: for example, use a fine line as a separator and a more prominent line as a section boundary.
Style
The Style list offers seven options: one solid, three dotted and three dashed variants. Choose a style suited to the purpose of the line.

Color (Outline)
Open the Outline palette. Choose from Type colors or Other colors, or define your own color using Custom... . Type colors makes it easier to select colors used for type specimen labels. Follow the conventions of your own collection; do not assume that a color has the same meaning everywhere.

05Working with Rectangles
A rectangle has four geometric parameters: X and Y specify the upper-left corner of its area, W is its width and H is its height. Select the rectangle and drag the handles on the Canvas or enter values in the Object section. Numerical values allow precise placement of a border relative to the label dimensions.

Rounded Corners
The corner-rounding control in the Line / Rectangle section changes the shape of the corners without changing the rectangle dimensions. A value of 0 produces square corners; the second example uses 3.2.


06Formatting Rectangles
The rectangle outline has its own thickness, style and color (Outline). Set the fill independently using the Fillpalette. This allows you to create a border, a colored area or a combination of both.

White vs. Transparent Fill
The Transparent option in the Fill palette means there is no opaque background. White fill is different: if a rectangle is above text, white can conceal it just like any other opaque color.
07Element Stacking Order
Elements can occupy the same area of a label. Their stacking order determines what appears on top. To create a colored header, place a filled rectangle behind the TextBox. Select the rectangle and use the object-order controls in the Object section to change its position relative to the text.



If an object is concealed, select it from the Select list. There is no need to delete the object on top. Then adjust the stacking order to restore the desired label appearance.
08Designing Label Borders
Example of a symmetrical border: for a 30 × 15 mm label with a 1 mm inset, set X = 1, Y = 1, W = 28 and H = 13. Set Fill to Transparent and choose an Outline color.
General rule: subtract twice the desired inset from both the label width and height. Remember that the actual extent of the border also depends on line thickness. A border positioned exactly at the label edge requires particular care in Print Preview and when cutting.
09Organizing Label Content
Example 1 – Colored Header Example
This 30 × 15 mm label combines a red rectangle with a white bold HOLOTYPE header, a separate field for the species name and author, and an identifier field. A fine horizontal line separates the identifier from the taxonomic data. The species name is italicized and the author is set in small caps.

In the sample file, the header, taxonomic data and identifier are three independent TextBox elements. Change their content and formatting without changing the rectangle color. This is a demonstration, not a record of an actual type specimen.
Example 2 – Structured Label Example
This 40 × 20 mm label includes an outer border, a horizontal dotted line, a vertical solid line and three independent TextBox elements. Vertical text makes it possible to use a narrow side section for an identifier.


The downloadable template contains the text “Textbox” in each field. Replace it with your own content. Dividing the label into sections does not automatically resize the fields, so check that your data fits the available space.
10Printing Considerations
The Canvas is often highly magnified, so even a very fine line can look prominent. On a small printed label, its appearance depends on printer resolution, paper and print settings. There is no single thickness suitable for every application.
Before printing a large batch of labels, open Print Preview and check:
- that lines and borders do not obscure text or extend beyond the label area;
- that the background and text have sufficient contrast, including when printed in black and white;
- that fine dotted and dashed lines remain legible;
- that borders near the edges will not be cut off during trimming.
Make a test print at actual size (100% / Actual size, without fitting to the page) and assess it on the intended paper. Printing will be covered in detail in a separate guide.
11Saving Templates
When the design is complete, save the label as an ELT template using the tools in the Template section. The template retains geometry, colors, styles, stacking order and text content and formatting. Save a reusable structure before entering data for individual specimens so that you can use it repeatedly.
Example text in templates is actual content, not a placeholder that disappears automatically. Replace it before printing. For more information about saving and installing templates, see Understanding Templates.
12Download and Experiment
Download both sample templates. Neither requires external graphic files. Experiment with colors, thicknesses, styles, rounded corners and stacking order, and enter your own data.

Colored Header Example
Colored header, separator and formatted text.
Download ELTColored Header Example.elt

Structured Label Example
Border, two separators and three TextBox elements.
Download ELTStructured Label Example.elt
How to use a downloaded template
- Save the ELT file in the Templates folder of the active Workspace or use Add Template File...
- If you copied the file manually, use Refresh Templates to update the list.
- Select the template and add a label to the document. Change the content and selected properties, then check Print Preview.
When saving your own variant, use a different name if you want to keep the original example.
13Summary
Lines divide a label into clear sections, while rectangles create borders and colored backgrounds. Precise coordinates, independent outline and fill properties, and stacking order allow you to build reusable templates. Combined with text formatting, these tools help you create labels suited to different scientific collections.
In the next guide, Working with Graphics we will discuss the use of graphic files on labels.