[]
        
(Showing Draft Content)

FarPoint.Win.ElementWindowless.GetTextAndPictureRectangles

GetTextAndPictureRectangles Method

GetTextAndPictureRectangles(Graphics, Rectangle, ref Rectangle, ref Rectangle)

Gets the rectangles for the text and pictures of the element.

Declaration
protected virtual void GetTextAndPictureRectangles(Graphics g, Rectangle r, ref Rectangle rPict, ref Rectangle rText)
Protected Overridable Sub GetTextAndPictureRectangles(g As Graphics, r As Rectangle, ByRef rPict As Rectangle, ByRef rText As Rectangle)
Parameters
Type Name Description
Graphics g

Graphics device

Rectangle r

Rectangle object that contains the element coordinates

Rectangle rPict

Returned rectangle of the picture

Rectangle rText

Returned rectangle of the text