[]
        
(Showing Draft Content)

FarPoint.Web.Spread.BaseCellType.GetStringSize

GetStringSize Method

GetStringSize(string, Size, float, Appearance)

Gets the size of the text string.

Declaration
protected Size GetStringSize(string s, Size size, float zoomFactor, Appearance appearance)
Protected Function GetStringSize(s As String, size As Size, zoomFactor As Single, appearance As Appearance) As Size
Parameters
Type Name Description
string s

Text string

Size size

Size of the text string

float zoomFactor

Numeric value for zoom factor for scaling the display

Appearance appearance

Appearance settings

Returns
Type Description
Size