Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / GetIntersectionRelativeToView 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
    GetIntersectionRelativeToView Method
    In This Topic
    Returns a System.Drawing.RectangleF that represents the intersection of two rectangles, relative to the view rectangle.
    Syntax
    'Declaration
     
    Public Function GetIntersectionRelativeToView( _
       ByVal otherRect As LayoutRect _
    ) As System.Drawing.RectangleF
    public System.Drawing.RectangleF GetIntersectionRelativeToView( 
       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