Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / CustomShape Class / PaintTextAndPicture Method
Graphics device
Rectangle bounding both the text and picture


In This Topic
    PaintTextAndPicture Method (CustomShape)
    In This Topic
    Paints the text and picture in the element.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub PaintTextAndPicture( _
       ByVal g As Graphics, _
       ByVal r As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As CustomShape
    Dim g As Graphics
    Dim r As Rectangle
     
    instance.PaintTextAndPicture(g, r)
    protected virtual void PaintTextAndPicture( 
       Graphics g,
       Rectangle r
    )

    Parameters

    g
    Graphics device
    r
    Rectangle bounding both the text and picture
    See Also