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


In This Topic
    GetTextAndPictureRectangles(Graphics,Rectangle,Rectangle,Rectangle,String) 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, _
       ByVal paintString As String _
    ) 
    'Usage
     
    
    Dim instance As ElementContainerControl
    Dim g As Graphics
    Dim r As Rectangle
    Dim rPict As Rectangle
    Dim rText As Rectangle
    Dim paintString As String
     
    instance.GetTextAndPictureRectangles(g, r, rPict, rText, paintString)
    protected virtual void GetTextAndPictureRectangles( 
       Graphics g,
       Rectangle r,
       ref Rectangle rPict,
       ref Rectangle rText,
       string paintString
    )

    Parameters

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