SpatialSurfaceInfo.TryGetBounds(SpatialCoordinateSystem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the bounds of this surface, expressed in the specified coordinate system.
public:
virtual IReference<SpatialBoundingOrientedBox> ^ TryGetBounds(SpatialCoordinateSystem ^ coordinateSystem) = TryGetBounds;
IReference<SpatialBoundingOrientedBox> TryGetBounds(SpatialCoordinateSystem const& coordinateSystem);
public System.Nullable<SpatialBoundingOrientedBox> TryGetBounds(SpatialCoordinateSystem coordinateSystem);
function tryGetBounds(coordinateSystem)
Public Function TryGetBounds (coordinateSystem As SpatialCoordinateSystem) As Nullable(Of SpatialBoundingOrientedBox)
Parameters
- coordinateSystem
- SpatialCoordinateSystem
The coordinate system in which to express the bounds.
Returns
The bounds.
Remarks
Because this is a snapshot, the bounds returned will not change over time.
This method will return null if the specified coordinate system cannot be located at the moment.