2.5.4.108 TextWidth
The TextWidth function calculates the width of the text specified in a CT_ShapeText element in the ShapeTextBinding XML Part.
ABNF:
-
TextWidth = val val val val " TEXTWIDTH():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: OriginalWidth
Type: vDouble
An argument that specifies the width of the text in Sheet prior to any diagram updates.
Return Value:
Type: PtgNum
This function returns a PtgNum containing the width of the text element.