Spread Windows Forms 18
FarPoint.Win Assembly / FarPoint.Win Namespace / ButtonElement Class / PaintText Method
Graphics device
Rectangle bounding the text


In This Topic
    PaintText Method (ButtonElement)
    In This Topic
    Paints the text of the element in the specified rectangle.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub PaintText( _
       ByVal g As Graphics, _
       ByVal rText As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As ButtonElement
    Dim g As Graphics
    Dim rText As Rectangle
     
    instance.PaintText(g, rText)
    protected virtual void PaintText( 
       Graphics g,
       Rectangle rText
    )

    Parameters

    g
    Graphics device
    rText
    Rectangle bounding the text
    See Also