Location

Location

The <location> element defines the size of the decoration area (in millimeters). The location acts as a bounding box or canvas for all subsequent design elements. The API uses the location dimensions to scale, position, and align designs or decorations.


XML structure

<location <!-- Root element: location --> width="100.0" <!-- Width in mm --> height="100.0" <!-- Height in mm --> />

Attributes

Attribute
Details
width
Required. The width of the area in millimeters.
height
Required. The height of the area in millimeters.


Example

<location
      width="120.0"
      height="80.0"
/>


  1. EWA design recipe
  2. EWA API methods overview
  3. EWA data packages overview