CADability dotNET
Returns the bounding rectangle of the GeoObject with respect to a specified projection

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static BoundingRect GetExtent(
	IGeoObject go,
	Projection projection,
	bool regardLineWidth
)
Visual Basic
Public Shared Function GetExtent ( _
	go As IGeoObject, _
	projection As Projection, _
	regardLineWidth As Boolean _
) As BoundingRect
Visual C++
public:
static BoundingRect GetExtent(
	IGeoObject^ go, 
	Projection^ projection, 
	bool regardLineWidth
)

Parameters

go
Type: CADability.GeoObject..::..IGeoObject
the GeoObject
projection
Type: CADability..::..Projection
the projection
regardLineWidth
Type: System..::..Boolean
regard line with

Return Value

the bounding rectangle

See Also