GrapeCity.Excel Namespace > IMeasureString Interface : MeasureString Method |
'Declaration Function MeasureString( _ ByVal text As System.String, _ ByVal fontName As System.String, _ ByVal fontSize As System.Double, _ ByVal wordWrap As System.Boolean, _ ByVal width As System.Double _ ) As GcSize
'Usage Dim instance As IMeasureString Dim text As System.String Dim fontName As System.String Dim fontSize As System.Double Dim wordWrap As System.Boolean Dim width As System.Double Dim value As GcSize value = instance.MeasureString(text, fontName, fontSize, wordWrap, width)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6