Spread for ASP.NET 8.0 Product Documentation
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
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

BaseCellType Class
BaseCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.