User guide
40 Creating Card Formats
x Attribute
The x attribute defines the distance from the left edge of a card to the left edge of the image.
Default units are in pixels (px).
y Attribute
Refer to datacard:positionReference above.
Default units are in pixels (px).
Height Attribute
The height attribute defines the height that the image is scaled to when printed on the card.
Units default to pixels (“px”). If no height is defined, then the image is vertically rendered pixel-
for-pixel at 300 dpi. If a height is defined, then no matter how many pixels are defined in the
image, the image is scaled to the height specified.
Width Attribute
The width attribute describes the width that the image should be scaled to when printed on the
card. Units default to pixels (px). If no width is defined, then the image will be horizontally
rendered pixel-for-pixel at 300 dpi. If a width is defined, then no matter how many pixels are
defined in the image, the image will be scaled to the width specified.
Transform Attribute (Rotating Images)
The transformation attribute is an SVG means of performing operations on the entire image
element. SVG allows rotation to any degree.
x=”100” y=”200” transform=”rotate(90 100, 200)”
transform Attribute Example