Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBoxCellType Class / GetErrorIconBound Method
A Graphichs object
Appearance settings
Rectangle to paint cell
Zoomfactor setting


In This Topic
    GetErrorIconBound Method (GcTextBoxCellType)
    In This Topic
    Gets a rectangle to draw an 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 GcTextBoxCellType
    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 Graphichs object
    appearance
    Appearance settings
    cellRectangle
    Rectangle to paint cell
    zoomFactor
    Zoomfactor setting

    Return Value

    A rectangle
    See Also