MapServiceExtensionsArea Method (SizeF) |
Computes the area, given a SizeF object.
Namespace:
Ptv.XServer.Controls.Map.Tools.Reprojection
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static double Area(
this SizeF size
)
<ExtensionAttribute>
Public Shared Function Area (
size As SizeF
) As Double
public:
[ExtensionAttribute]
static double Area(
SizeF size
)
[<ExtensionAttribute>]
static member Area :
size : SizeF -> float
Parameters
- size
- Type: System.DrawingSizeF
Size out of which to compute the area.
Return Value
Type:
DoubleComputed area.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SizeF. 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).
See Also