FarPoint.Win Assembly / FarPoint.Win Namespace / SpinUpButtonElement Class / GetTextAndPictureRectangles Method
Graphics device
Rectangle object that contains the element coordinates
Returned rectangle of the picture
Returned rectangle of the text


In This Topic
GetTextAndPictureRectangles Method (SpinUpButtonElement)
In This Topic
Gets the rectangles for the text and pictures of the element.
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 SpinUpButtonElement
Dim g As Graphics
Dim r As Rectangle
Dim rPict As Rectangle
Dim rText As Rectangle
 
instance.GetTextAndPictureRectangles(g, r, rPict, rText)

Parameters

g
Graphics device
r
Rectangle object that contains the element coordinates
rPict
Returned rectangle of the picture
rText
Returned rectangle of the text
See Also