Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementControl Class / GetTextAndPictureRectangles Method / GetTextAndPictureRectangles(Graphics,Rectangle,Rectangle,Rectangle) Method
Graphics device
Rectangle bounding the area
Rectangle bounding the picture
Rectangle bounding the text


In This Topic
    GetTextAndPictureRectangles(Graphics,Rectangle,Rectangle,Rectangle) Method
    In This Topic
    Internal use only.
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Sub GetTextAndPictureRectangles( _
       ByVal g As Graphics, _
       ByVal r As Rectangle, _
       ByRef rPict As Rectangle, _
       ByRef rText As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As ElementControl
    Dim g As Graphics
    Dim r As Rectangle
    Dim rPict As Rectangle
    Dim rText As Rectangle
     
    instance.GetTextAndPictureRectangles(g, r, rPict, rText)
    protected virtual void GetTextAndPictureRectangles( 
       Graphics g,
       Rectangle r,
       ref Rectangle rPict,
       ref Rectangle rText
    )

    Parameters

    g
    Graphics device
    r
    Rectangle bounding the area
    rPict
    Rectangle bounding the picture
    rText
    Rectangle bounding the text
    See Also