Skip to main content

Overview

This function returns the height, in points, of a string based on the properties of a targeted text element.

Parameters

stringHeight(object, string)
  • Object: The text element whose properties determine how the height is measured.
  • String: The string whose height you want to measure.