Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / SpreadShapesContainer Class / Contains Method / Contains(Point,Boolean) Method
Point to check
Whether to ignore transparency


In This Topic
    Contains(Point,Boolean) Method
    In This Topic
    Determines whether the container contains the specified point ignoring transparency.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Contains( _
       ByVal pt As Point, _
       ByVal ignoreTransparency As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As SpreadShapesContainer
    Dim pt As Point
    Dim ignoreTransparency As Boolean
    Dim value As Boolean
     
    value = instance.Contains(pt, ignoreTransparency)
    public virtual bool Contains( 
       Point pt,
       bool ignoreTransparency
    )

    Parameters

    pt
    Point to check
    ignoreTransparency
    Whether to ignore transparency

    Return Value

    true if it contains the point; false otherwise
    See Also