Skip to main content
CESDK/Web/Concepts

Understanding the Usage of Design Units in the CreativeEditor SDK

Learn how to master design units with the CreativeEditor SDK, which supports the most commonly used units out of the box.

Each page format that can be selected in the editor defines a design unit, which all page and element values are specified in. This includes element positions, sizes and bleed margins.

Supported design units are

  • Pixels px
  • Millimeters mm
  • Inches in

Font sizes#

Unlike all other values, font sizes are always defined in points pt.

DPI#

If a page format uses a unit other than pixel px, the dpi property of that page format determines all conversions between the unit and pixels whenever necessary. Therefore, the dpi controls the export resolution of such pages.

This dpi value is also used in order to convert all font sizes into the design unit of the current page format.