[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.GetIntersectionRelativeToSelf

GetIntersectionRelativeToSelf Method

GetIntersectionRelativeToSelf(LayoutRect)

Returns a RectangleF that represents the intersection of two rectangles, relative to this LayoutRect.

Declaration
public RectangleF GetIntersectionRelativeToSelf(LayoutRect otherRect)
Public Function GetIntersectionRelativeToSelf(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.