Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / RichTextCellType Class / MeasureString Method
Graphics device interface for painting the string
Default size
Value


In This Topic
    MeasureString Method
    In This Topic
    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