Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / RectangleShape Class / GetTextAndPictureRectangles Method
Graphics device
Bounding rectangle for the shape
Bounding rectangle for the picture
Bounding rectangle for the text


In This Topic
    GetTextAndPictureRectangles Method (RectangleShape)
    In This Topic
    Gets the bounding rectangles for the text and the picture in the presentation space.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub GetTextAndPictureRectangles( _
       ByVal g As Graphics, _
       ByVal r As Rectangle, _
       ByRef rPict As Rectangle, _
       ByRef rText As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As RectangleShape
    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
    Bounding rectangle for the shape
    rPict
    Bounding rectangle for the picture
    rText
    Bounding rectangle for the text
    See Also