PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RectangleD Structure / Contains Method / Contains(Double,Double) Method
The X coordinate of the point to test.
The Y coordinate of the point to test.

In This Topic
    Contains(Double,Double) Method
    In This Topic
    Tests whether a point specified by its coordinates is contained within the current RectangleD.
    Syntax
    'Declaration
     
    Public Overloads Function Contains( _
       ByVal x As Double, _
       ByVal y As Double _
    ) As Boolean
    public bool Contains( 
       double x,
       double y
    )

    Parameters

    x
    The X coordinate of the point to test.
    y
    The Y coordinate of the point to test.

    Return Value

    true if the specified point is contained within the current RectangleD structure, false otherwise.
    See Also