Spread for ASP.NET 11 Product Documentation
GetStringSize Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BaseCellType Class : GetStringSize Method
Text string
Size of the text string
Numeric value for zoom factor for scaling the display
Appearance settings
Gets the size of the text string.
Syntax
'Declaration
 
Protected Function GetStringSize( _
   ByVal s As String, _
   ByVal size As Size, _
   ByVal zoomFactor As Single, _
   ByVal appearance As Appearance _
) As Size
'Usage
 
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)
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
See Also

Reference

BaseCellType Class
BaseCellType Members