The CreativeEditor SDK (CE.SDK) Engine supports three different design units for all layouting values. 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 scene uses a unit other than pixel px, the dpi property of that scene determines all conversions between the unit and pixels whenever necessary. Therefore, the dpi controls the export resolution of such a scenes blocks.
This dpi value is also used in order to convert all font sizes into the design unit of the current scene. If the dpi property is changed in a scene with pixel unit, all text block’s font sizes are automatically adjusted so that the text stays visually the same size.