TPdfWriter.MeasureString Method
Returns the size of a string in points * Scale. (1/72 of an inch * Scale)
Syntax
Unit: FlexCel.Pdf
function TPdfWriter.MeasureString(const text: string; const aFont: TUIFont): TUISize;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | text | string | String to measure. |
const | aFont | TUIFont | Font to measure |
Returns
Size of the string in points.