CabMasterPro User Guide
In This Topic
    Labels Tool
    In This Topic
    Common ControlsLabel ToolLabel ToolLabel ToolLabel ToolLabel ToolLabel Tool
    Format Label

    For quick links to more information, click on the options.

    This drawing tool is located on the Annotate tab and can be customised with the right click Format... option.

    This tool lets you place text into a drawing and is especially useful when creating templates using supplied variables (see topic on how to Load Variables).

    Type, Description and Code

    Refer Common Controls.

    Text

    The Text edit box allows you to set the text that will be displayed and is therefore the most important control on this page. As you type into the Text box, the label will update itself if it is visible on the drawing page.

    Dimensions use this edit box to show a range of different items such as units, decimals, notations - see Dimensions Format Label tutorial.

    Formula Controlled Text

    ToolData for Template Variables, which are formula controlled text for use with template creation, are available. If the .../ToolData/Label folder is empty then see Help Topic for details on how to locate and download/extract.

    Only Developer Software Users can formula-control the Text box of a label.

    Font 

    Clicking the large "A" icon opens the standard Windows font dialog, where you can set the typeface, point size, style, effects and colour of the text. There is a sample area on the font dialog where you can see how the selected options will affect the text appearance. When you close the dialog, the text in the edit box updates to reflect the selected font.

    Style 

    These buttons are used to turn the three style options on or off - 'Bold', 'Italic' or 'Underlined'. Each button is independent so you can use any combination of styles at once. When a button appears depressed the corresponding style is enabled. The three styles are also available from the Font dialog.

    Justification 

    The Justification buttons control where the text of a label appears horizontally relative to its attachment point. Unlike the Style buttons, these are linked so you can only select one at a time. From left to right, the buttons select left, centre and right justification, just like in any word processing application. With a Label, this only shifts the text left and right.

    Alignment 

    The Alignment of a label is similar to the justification, except it controls the vertical position relative to the attachment point. The three buttons Below, On and Above are linked so you can only select one at a time.

    Developer Software Users Only: Formula control of the Alignment and Justification options is a little harder that normal, but having to do this is uncommon. Both sets of options are controlled together, you can't just control one and leave the other editable. Each option is controlled by a constant number, and you add these constants to control both at once. The numbers for the Justification controls are: Left = 1, Right = 2, Centre = 3. For the Alignment controls, they are: Above = 4, Below = 8, Centre = 12. So to set a label to be right-aligned and below the attachment point, we would add 2 and 8 to give 10 and enter that in the formula box. Or we could just type "2 + 8" to make it obvious where those numbers come from.

    Angle

    This is the angle that the text appears at on the drawing, with normal horizontal text being at zero degrees. You can enter any angle in either degrees or radians, and the text will be rotated around its attachment point by that angle.