RegionExtensionElevation Method |
Gets the distance of the Region's plane from the WCS origin.
Namespace:
Gile.AutoCAD.R20.Geometry
Assembly:
GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic static double Elevation(
this Region region
)
<ExtensionAttribute>
Public Shared Function Elevation (
region As Region
) As Double
public:
[ExtensionAttribute]
static double Elevation(
Region^ region
)
[<ExtensionAttribute>]
static member Elevation :
region : Region -> float
Parameters
- region
- Type: Region
The instance to which this method applies.
Return Value
Type:
DoubleThe elevation of the Region.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Region. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
ExceptionsException | Condition |
---|
ArgumentNullException | ArgumentException is thrown if region is null. |
See Also