Spread WinForms 15
FarPoint.Excel Assembly / FarPoint.Excel Namespace / SheetViewSynchronizer Class / GetCharWidth Method
if set to true [get default font name from resource]


In This Topic
GetCharWidth Method
In This Topic
Gets the width of the char.
Syntax
'Declaration
 
Public Shared Function GetCharWidth( _
   ByVal getDefaultFontNameFromResource As Boolean, _
   ByVal isWinform As Boolean _
) As Single
 
'Usage
 
Dim getDefaultFontNameFromResource As Boolean
Dim isWinform As Boolean
Dim value As Single
 
value = SheetViewSynchronizer.GetCharWidth(getDefaultFontNameFromResource, isWinform)

Parameters

getDefaultFontNameFromResource
if set to true [get default font name from resource]
isWinform

Return Value

char width
See Also