GM_Projection_t Methods

The GM_Projection_t type exposes the following members.

Methods
Name Description
Public method AddAttr
Adds an Attribute to the end of the attribute list. Returns false if list is full
Public method Static member AddCustomDatum
Adds a new custom datum with the given parameters
Public method Static member AddCustomEllipsoid
Adds a new custom ellipsoid with the given parameters
Public method Static member AreProjectionsEquivalent
Checks to see if the 2 projections are equivalent
Public method Static member DecodeMGRSCoordinates
Decodes a MGRS (military grid reference system) coordinate into a X/Y or lat/lon location
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Static member GetAvailableProjectionList
Retrieves a list of all available projections and their available parameters, datums, units, etc. Returns GM_ProjectionInfo_t* (array of GM_ProjectionInfo_t structures)
Public method GetBase
Retrieves the underlying base projection that forms the basis for a given projection.
Public method Static member GetBaseProjection
Retrieves the underlying base projection that forms the basis for a given projection.
Public method Static member GetDatumInfo
Gets the parameters for a particular datum
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method Static member GetMGRSCoordinates
Gets the MGRS (military grid reference system) coordinates for a location
Public method Static member GetProjection
Gets the current view/export projection
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method Static member LoadProjectionFile
Initializes a GM_Projection_t structure from a projection (PRJ, Ozi .map, etc.) file.
Public method Static member LoadProjectionFromEPSGCode
Initializes a GM_Projection_t structure from an EPSG code
Public method Static member LoadProjectionFromWKTString
Initializes a GM_Projection_t structure from a WKT projection string
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RemoveAttr
Removes an Attributef at the specified index from the attribute list. Returns false if list is empty or index is out of range
Public method Static member SaveProjectionToFile
Saves a GM_Projection_m structure to a projection (PRJ) file.
Public method Static member SaveProjectionToString
Saves a GM_Projection_t structure to a WKT projection string.
Public method SaveToFile
Saves a GM_Projection_m structure to a projection (PRJ) file.
Public method SaveToString
Saves a GM_Projection_t structure to a WKT projection string.
Public method Static member SelectProjection
Displays the projection selection dialog to allow the user to select a projection
Public method Static member SelectProjectionEx
Displays the projection selection dialog to allow the user to select a projection
Public method SetAsProjection
Set the new projection. This is the projection that all draws and exports will be done in. It is also the projection that all world bound rectangles will be in. This version allows providing a lat/lon bounding rectangle for automatic selection of the best zone for zoned projections.
Public method Static member SetProjection
Set the new projection. This is the projection that all draws and exports will be done in. It is also the projection that all world bound rectangles will be in. This version allows providing a lat/lon bounding rectangle for automatic selection of the best zone for zoned projections.
Public method Static member SetProjectionEx
Set the new projection. This is the projection that all draws and exports will be done in. It is also the projection that all world bound rectangles will be in. This version allows providing a lat/lon bounding rectangle for automatic selection of the best zone for zoned projections.
Public method Static member SetQueryProjectionCallback
Sets the function to call to select a projection for a layer when being loaded if the projection for that layer cannot be automatically determined. If a callback is provided, it will be called rather than the projection selection dialog being displayed.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also