[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.GetIntersectionRelativeToView

GetIntersectionRelativeToView Method

GetIntersectionRelativeToView(LayoutRect)

Returns a RectangleF that represents the intersection of two rectangles, relative to the view rectangle.

Declaration
public RectangleF GetIntersectionRelativeToView(LayoutRect otherRect)
Public Function GetIntersectionRelativeToView(otherRect As LayoutRect) As RectangleF
Parameters
Type Name Description
LayoutRect otherRect

A LayoutRect which may have an intersection with this LayoutRect or null to reference the owner LayoutView.

Returns
Type Description
RectangleF

The resulting RectangleF or an empty rectangle if there is no intersection.