2.5.4.107 TextHeight

The TextHeight function calculates the height of the text specified in a CT_ShapeText element in the ShapeTextBinding XML Part

ABNF:

 TextHeight = val val val val " TEXTHEIGHT():128" 

Required Arguments:

Name: Unused

Type: vAny

This argument is unused and MUST be ignored.

Name: Unused

Type: vAny

This argument is unused and MUST be ignored.

Name: Sheet

Type: vString

An argument that specifies the Name of a CT_ShapeText element in the ShapeTextBinding XML Part.

Name: OriginalHeight

Type: vDouble

An argument that specifies the height of the text in Sheet prior to any diagram updates.

Return Value:

Type: PtgNum

This function returns a PtgNum containing the height of the text element.