MapServiceExtensionsSize Method |
Determines the size of a bounding box.
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 SizeF Size(
this IBoundingBox box
)
<ExtensionAttribute>
Public Shared Function Size (
box As IBoundingBox
) As SizeF
public:
[ExtensionAttribute]
static SizeF Size(
IBoundingBox^ box
)
[<ExtensionAttribute>]
static member Size :
box : IBoundingBox -> SizeF
Parameters
- box
- Type: Ptv.XServer.Controls.Map.Tools.ReprojectionIBoundingBox
Bounding box to determine the size of.
Return Value
Type:
SizeFSize of the bounding box.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IBoundingBox. 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