MapServiceExtensionsTransformBoundingBox Method (IBoundingBox, String, String, Int32) |
Transforms a bounding box from one CRS to another returning the resulting BoundingLines structure.
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 BoundingLines TransformBoundingBox(
this IBoundingBox boundingBox,
string sourceCrs,
string targetCrs,
int nSupportingPoints
)
<ExtensionAttribute>
Public Shared Function TransformBoundingBox (
boundingBox As IBoundingBox,
sourceCrs As String,
targetCrs As String,
nSupportingPoints As Integer
) As BoundingLines
public:
[ExtensionAttribute]
static BoundingLines TransformBoundingBox(
IBoundingBox^ boundingBox,
String^ sourceCrs,
String^ targetCrs,
int nSupportingPoints
)
[<ExtensionAttribute>]
static member TransformBoundingBox :
boundingBox : IBoundingBox *
sourceCrs : string *
targetCrs : string *
nSupportingPoints : int -> BoundingLines
Parameters
- boundingBox
- Type: Ptv.XServer.Controls.Map.Tools.ReprojectionIBoundingBox
Bounding box to transform. - sourceCrs
- Type: SystemString
The source CRS. - targetCrs
- Type: SystemString
The target CRS. - nSupportingPoints
- Type: SystemInt32
Number of supporting points to use.
Return Value
Type:
BoundingLinesBoundingLines structure that corresponds to the bounding box in the target CRS.
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