Spread Windows Forms 12.0 Product Documentation
MeasureString(Graphics,Size,Object) Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > RichTextCellType Class : MeasureString(Graphics,Size,Object) Method
Graphics device interface for painting the string
Default size
Value
Measures the string size.
Syntax
'Declaration
 
Protected Overridable Function MeasureString( _
   ByVal g As Graphics, _
   ByVal defaultSize As Size, _
   ByVal value As Object _
) As Size
'Usage
 
Dim instance As RichTextCellType
Dim g As Graphics
Dim defaultSize As Size
Dim value As Object
Dim value As Size
 
value = instance.MeasureString(g, defaultSize, value)
protected virtual Size MeasureString( 
   Graphics g,
   Size defaultSize,
   object value
)

Parameters

g
Graphics device interface for painting the string
defaultSize
Default size
value
Value
See Also

Reference

RichTextCellType Class
RichTextCellType Members