GeometryExtensionToWebPolygon Method |
Convert a IPolygon instance to a WebPolygon instance.
Namespace: ArtDatabanken.DataAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public static WebPolygon ToWebPolygon(
this IPolygon polygon
)
<ExtensionAttribute>
Public Shared Function ToWebPolygon (
polygon As IPolygon
) As WebPolygon
public:
[ExtensionAttribute]
static WebPolygon^ ToWebPolygon(
IPolygon^ polygon
)
[<ExtensionAttribute>]
static member ToWebPolygon :
polygon : IPolygon -> WebPolygon
Parameters
- polygon
- Type: ArtDatabanken.DataIPolygon
An IPolygon instance.
Return Value
Type:
WebPolygonA WebPolygon instance.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPolygon. 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