<-- Previous || Up || Next -->

est Text Width And Height Function
Entisoft Tools Port Module

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

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.

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.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.