Skybound Rebar

RebarBand.GetAreaAtPoint Method 

Returns the type of area at the specified co-ordinates.

[Visual Basic]
Public Function GetAreaAtPoint( _
   ByVal pt As Point _
) As RebarBandArea
[C#]
public RebarBandArea GetAreaAtPoint(
   Point pt
);

Parameters

pt
The Point to test, relative to the top-left corner of the parent rebar control.

Return Value

One of the RebarBandArea values.

Remarks

Use this method to determine the element of the band over which the mouse is currently positioned.

See Also

RebarBand Class | Skybound.Rebar Namespace