Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / Contains Method
The LayoutRect to test or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.

In This Topic
    Contains Method (LayoutRect)
    In This Topic
    Determines if the rectangular region represented by otherRect is entirely contained within this LayoutRect.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal otherRect As LayoutRect _
    ) As System.Boolean
    public System.bool Contains( 
       LayoutRect otherRect
    )

    Parameters

    otherRect
    The LayoutRect to test or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.

    Return Value

    true if the rectangular region represented by otherRect is entirely contained within this LayoutRect; otherwise, false.
    See Also