newObjects Active Label Label coordinate space

The Active Label coordinate space is organized as shown on the picture below:

The coordinate space start point is at the upper left cornet of the label and the X coordinate grows to the right, the Y coordinate grows down. The coordinates are specified in the selected measurement units (see Misc.Units). By default they are 1/100 of the millimeter - this X = 1cm, Y=1cm will be the point (1000,1000).

Note that the point (0,0) is the top left corner of the label and not the printable area! Thus changing the margins will not move the elements on the label - it will only clip/unclip some parts of them (on the screen you can show/hide the non-printable parts of the label - see Misc.HideNonPrintable property).

When you use the X and Y properties of an element to specify its position they specify the location of the element's reference point. The reference point is by default the upper left corner of the element. However some elements allow the reference point to be somewhere else. For example the Alignment of a text label element changes its location to the top center (when alignment is 0 - centered) or to the right top corner (when alignment is 1 - right).

On the picture above you can see the selection frame of an image element just placed on the label. The reference point is shown as "asterisk" symbol (top, left corner).

The measurement units.

Active Label supports 4 different measurement units: 1/100 of the millimeter (default); 1/10 of the millimeter; 1/1000 of the inch; 1/100 of the inch. You can set the units in use through the Misc.Units property. However changing the measurement units will not change the values of the elements' properties or the label settings. Thus changing from 1/100 of the millimeter to 1/10 of the millimeter units will effectively scale the label 10 times. Thus the measurement system should be selected once and not changed at a later time. 





newObjects Copyright 2001-2006 newObjects [ ]