IBBox2D80

This interface gives the coordinates of a 2D bounding box around an object.

For a feature layer bounding box, the coordinates of the bounding box can be changed only when the IFeatureLayer80.Streaming property is set to TRUE.

For a raster layer bounding box, the following points apply:

§   BBox coordinates are read only (If set, E_NOTIMPL is returned).

§   If no geo-information exists in the data source, the coordinates returned will be 0,0,0,0.

§   The coordinates are not translated to the user coordinate space but are always returned in the data source’s original coordinate system.

 

 

Properties

 

MaxX

Gets and sets the bounding box’s maximum X coordinate.

MaxY

Gets and sets the bounding box’s maximum Y coordinate.

MinX

Gets and sets the bounding box’s minimum X coordinate.

MinY

Gets and sets the bounding box’s minimum Y coordinate.

MaxX

Gets and sets the bounding box’s maximum X coordinate.

 

JavaScript

 

MaxX

 

C#

 

double MaxX { get; set; }

 

C++

 

HRESULT MaxX([out, retval] double* pVal)

HRESULT MaxX([in] double pVal)

MaxY

Gets and sets the bounding box’s maximum Y coordinate.

 

JavaScript

 

MaxY

 

C#

 

double MaxY { get; set; }

 

C++

 

HRESULT MaxY([out, retval] double* pVal)

HRESULT MaxY([in] double pVal)

MinX

Gets and sets the bounding box’s minimum X coordinate.

 

JavaScript

 

MinX

 

C#

 

double MinX { get; set; }

 

C++

 

HRESULT MinX([out, retval] double* pVal)

HRESULT MinX([in] double pVal)

MinY

Gets and sets the bounding box’s minimum Y coordinate.

 

JavaScript

 

MinY

 

C#

 

double MinY { get; set; }

 

C++

 

HRESULT MinY([out, retval] double* pVal)

HRESULT MinY([in] double pVal)