Validates a half-point (HPS) measurement value.
Accepts either a positive universal measure string or a positive number. HPS (half-points) are commonly used for font sizes.
Reference: ST_HpsMeasure in OOXML specification
The measurement value (positive universal measure or number)
The normalized measurement value
const fontSize1 = hpsMeasureValue("12pt");const fontSize2 = hpsMeasureValue(24); // 12pt in half-points Copy
const fontSize1 = hpsMeasureValue("12pt");const fontSize2 = hpsMeasureValue(24); // 12pt in half-points
Validates a half-point (HPS) measurement value.
Accepts either a positive universal measure string or a positive number. HPS (half-points) are commonly used for font sizes.
Reference: ST_HpsMeasure in OOXML specification