Function Entisoft Tools Port Class

estTextWidthAndHeight

Determine the real TextHeight and TextWidth of strings which have embedded Cr & Lf characters. Requires a Visual Basic form pointer. The current Font properties of the Form are used when determining the sizes.

Signature (Visual Basic / VBA)

Function estTextWidthAndHeight( _
      ByRef frmCur As Form _
    , ByVal strValue As String _
    ) As Variant

Notes & Version History

Note This function uses StringToVariantVector , to avoid Error #458 when this function is used as part of the Entisoft Tools initialization process. You should probably replace "estAC" with a reference to "est.AC" within your programs.