Click or drag to resize

PointHelperGetPoint Method (IServiceProvider)

Gets the Point from the ILocationPointService provided by an object.

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static Point GetPoint(
	IServiceProvider provider
)

Parameters

provider
Type: SystemIServiceProvider
The object from which to obtain the ILocationPointService service.

Return Value

Type: Point
The Point from the ILocationPointService.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when provider is .
ServiceNotAvailableException Thrown when provider does not provide ILocationPointService.
See Also