Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

BaseCellType Class
BaseCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.