Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / GetIntersectionRelativeToSelf Method
A LayoutRect which may have an intersection with this LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.

In This Topic
    GetIntersectionRelativeToSelf Method
    In This Topic
    Returns a System.Drawing.RectangleF that represents the intersection of two rectangles, relative to this LayoutRect.
    Syntax
    'Declaration
     
    Public Function GetIntersectionRelativeToSelf( _
       ByVal otherRect As LayoutRect _
    ) As System.Drawing.RectangleF
    public System.Drawing.RectangleF GetIntersectionRelativeToSelf( 
       LayoutRect otherRect
    )

    Parameters

    otherRect
    A LayoutRect which may have an intersection with this LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.

    Return Value

    The resulting System.Drawing.RectangleF or an empty rectangle if there is no intersection.
    See Also