AlwaysAccept Property

Type

System.Boolean

 

Access

Get/Set

 

Description

The AlwaysAccept property indicates if the InBounds method should return true for all arguments.  If the value of AlwaysAccept is true, then the InBounds method will return true for all arguments.  If the value of AlwaysAccept is false, then the InBounds method will return true if and only if the CoordPoint passed as argument is within the bounds of this Envelope.

 

Example

[VB]

Private Sub GeoCalcNET_Envelope_AlwaysAccept(ByVal envelope As GeoCalcNET.Envelope)

Dim b As Boolean = envelope.AlwaysAccept

envelope.AlwaysAccept = False

End Sub

 

[C#]

private void GeoCalcNET_Envelope_AlwaysAccept(GeoCalcNET.Envelope env)

{

bool b = env.AlwaysAccept;

env.AlwaysAccept = true;

}