Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / BaseCellType Class / GetErrorIconBound Method
A graphics object
Appearance settings
Rectangle to paint the cell in
Zoom factor setting


In This Topic
    GetErrorIconBound Method (BaseCellType)
    In This Topic
    Gets a rectangle to draw the error icon in.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetErrorIconBound( _
       ByVal g As Graphics, _
       ByVal appearance As Appearance, _
       ByVal cellRectangle As Rectangle, _
       ByVal zoomFactor As Single _
    ) As Rectangle
    'Usage
     
    
    Dim instance As BaseCellType
    Dim g As Graphics
    Dim appearance As Appearance
    Dim cellRectangle As Rectangle
    Dim zoomFactor As Single
    Dim value As Rectangle
     
    value = instance.GetErrorIconBound(g, appearance, cellRectangle, zoomFactor)

    Parameters

    g
    A graphics object
    appearance
    Appearance settings
    cellRectangle
    Rectangle to paint the cell in
    zoomFactor
    Zoom factor setting

    Return Value

    A rectangle
    See Also