Public Member Functions | Properties
GridHeader Class Reference

A grid header object is used to hold the information contained in a grid's header. More...

List of all members.

Public Member Functions

void CopyFrom (GridHeader pVal)
 Copies the contents of another instance of the grid header.
string get_ErrorMsg (int ErrorCode)
 Retrieves the error message associated with the specified error code.
void set_Owner (ref int t, ref int d, ref int s, ref int l, ref int __p5)
 For inner use only.

Properties

string ColorTable [get, set]
 Gets or sets a text string with information about color table. This value doesn't affect grid processing.
double dX [get, set]
 Gets or sets the width of the grid cell in physical units for the grid represented by the grid header.
double dY [get, set]
 Gets or sets the height of a cell in the grid represented by the grid header.
GeoProjection GeoProjection [get, set]
 Not implemented. Get or sets the geoprojection associated with grid header.
ICallback GlobalCallback [get, set]
 The global callback is the interface used by MapWinGIS to pass progress and error events to interested applications.
string Key [get, set]
 The key may be used by the programmer to store any string data associated with the object.
int LastErrorCode [get]
 Retrieves the last error generated in the object.
object NodataValue [get, set]
 The value representing cells in the grid with no-data or missing data values.
string Notes [get, set]
 Gets or sets notes or any additional information about the grid stored in the grid header.
int NumberCols [get, set]
 Gets or sets the number of columns for the grid represented by the grid header.
int NumberRows [get, set]
 Gets or sets the number of rows in the grid represented by the grid header.
string Projection [get, set]
 Gets or sets information about the projection of the grid represented by the grid header. Setting this value has no effect on the actual grid data. The projection should be expressed as a PROJ4 string.
double XllCenter [get, set]
 The x coordinate of the center of the lower-left cell in the grid represented by the grid header.
double YllCenter [get, set]
 Gets or sets the y coordinate of the center of the lower-left cell in the grid represented by the grid header.

Detailed Description

A grid header object is used to hold the information contained in a grid's header.


Member Function Documentation

Copies the contents of another instance of the grid header.

Parameters:
pValThe grid header to copy setting from.
string GridHeader.get_ErrorMsg ( int  ErrorCode)

Retrieves the error message associated with the specified error code.

Parameters:
ErrorCodeThe error code for which the error message is required.
Returns:
The error message description for the specified error code.
void GridHeader.set_Owner ( ref int  t,
ref int  d,
ref int  s,
ref int  l,
ref int  __p5 
)

For inner use only.


Property Documentation

string GridHeader.ColorTable [get, set]

Gets or sets a text string with information about color table. This value doesn't affect grid processing.

double GridHeader.dX [get, set]

Gets or sets the width of the grid cell in physical units for the grid represented by the grid header.

double GridHeader.dY [get, set]

Gets or sets the height of a cell in the grid represented by the grid header.

Not implemented. Get or sets the geoprojection associated with grid header.

The global callback is the interface used by MapWinGIS to pass progress and error events to interested applications.

Deprecated:
v4.9.3 Use GlobalSettings.ApplicationCallback instead.
string GridHeader.Key [get, set]

The key may be used by the programmer to store any string data associated with the object.

Retrieves the last error generated in the object.

object GridHeader.NodataValue [get, set]

The value representing cells in the grid with no-data or missing data values.

string GridHeader.Notes [get, set]

Gets or sets notes or any additional information about the grid stored in the grid header.

int GridHeader.NumberCols [get, set]

Gets or sets the number of columns for the grid represented by the grid header.

int GridHeader.NumberRows [get, set]

Gets or sets the number of rows in the grid represented by the grid header.

string GridHeader.Projection [get, set]

Gets or sets information about the projection of the grid represented by the grid header. Setting this value has no effect on the actual grid data. The projection should be expressed as a PROJ4 string.

double GridHeader.XllCenter [get, set]

The x coordinate of the center of the lower-left cell in the grid represented by the grid header.

double GridHeader.YllCenter [get, set]

Gets or sets the y coordinate of the center of the lower-left cell in the grid represented by the grid header.

 All Classes Files Functions Enumerations Properties Events