Spread ASP.NET 6.0 Product Documentation
GetStringSize Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BaseCellType Class : GetStringSize Method


s
Text string
size
Size of the text string
zoomFactor
Numeric value for zoom factor for scaling the display
appearance
Appearance settings

Glossary Item Box

Gets the size of the text string.

Syntax

Visual Basic (Declaration) 
Protected Function GetStringSize( _
   ByVal s As String, _
   ByVal size As Size, _
   ByVal zoomFactor As Single, _
   ByVal appearance As Appearance _
) As Size
Visual Basic (Usage)Copy Code
Dim instance As BaseCellType
Dim s As String
Dim size As Size
Dim zoomFactor As Single
Dim appearance As Appearance
Dim value As Size
 
value = instance.GetStringSize(s, size, zoomFactor, appearance)
C# 
protected Size GetStringSize( 
   string s,
   Size size,
   float zoomFactor,
   Appearance appearance
)

Parameters

s
Text string
size
Size of the text string
zoomFactor
Numeric value for zoom factor for scaling the display
appearance
Appearance settings

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.