Click or drag to resize

MapServiceExtensionsEqualsAspect Method

Determines if two bounding boxes have the same aspect ratio.

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 bool EqualsAspect(
	this IBoundingBox this,
	IBoundingBox other
)

Parameters

this
Type: Ptv.XServer.Controls.Map.Tools.ReprojectionIBoundingBox
First bounding box.
other
Type: Ptv.XServer.Controls.Map.Tools.ReprojectionIBoundingBox
Second bounding box.

Return Value

Type: Boolean
True, if the aspect ratio is equal. False otherwise.

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