GM_Projection_t Class |
This type is used to fully describe a projection.

Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

C#
public class GM_Projection_t
The GM_Projection_t type exposes the following members.

Name | Description | |
---|---|---|
![]() | GM_Projection_t | Default Constructor Initializes everything to 0 |

Name | Description | |
---|---|---|
![]() | AddAttr |
Adds an Attribute to the end of the attribute list.
Returns false if list is full
|
![]() ![]() | AddCustomDatum |
Adds a new custom datum with the given parameters
|
![]() ![]() | AddCustomEllipsoid |
Adds a new custom ellipsoid with the given parameters
|
![]() ![]() | AreProjectionsEquivalent |
Checks to see if the 2 projections are equivalent
|
![]() ![]() | DecodeMGRSCoordinates |
Decodes a MGRS (military grid reference system) coordinate into a X/Y or lat/lon location
|
![]() | Equals | (Inherited from Object .) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
![]() ![]() | 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)
|
![]() | GetBase |
Retrieves the underlying base projection that forms the basis for a given projection.
|
![]() ![]() | GetBaseProjection |
Retrieves the underlying base projection that forms the basis for a given projection.
|
![]() ![]() | GetDatumInfo |
Gets the parameters for a particular datum
|
![]() | GetHashCode | Serves as a hash function for a particular type.
(Inherited from
Object
.)
|
![]() ![]() | GetMGRSCoordinates |
Gets the MGRS (military grid reference system) coordinates for a location
|
![]() ![]() | GetProjection |
Gets the current view/export projection
|
![]() | GetType | Gets the type of the current instance.
(Inherited from
Object
.)
|
![]() ![]() | LoadProjectionFile |
Initializes a GM_Projection_t structure from a projection (PRJ, Ozi .map, etc.) file.
|
![]() ![]() | LoadProjectionFromEPSGCode |
Initializes a GM_Projection_t structure from an EPSG code
|
![]() ![]() | LoadProjectionFromWKTString |
Initializes a GM_Projection_t structure from a WKT projection string
|
![]() | MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() | RemoveAttr |
Removes an Attributef at the specified index from the attribute list.
Returns false if list is empty or index is out of range
|
![]() ![]() | SaveProjectionToFile |
Saves a GM_Projection_m structure to a projection (PRJ) file.
|
![]() ![]() | SaveProjectionToString |
Saves a GM_Projection_t structure to a WKT projection string.
|
![]() | SaveToFile |
Saves a GM_Projection_m structure to a projection (PRJ) file.
|
![]() | SaveToString |
Saves a GM_Projection_t structure to a WKT projection string.
|
![]() ![]() | SelectProjection |
Displays the projection selection dialog to allow the user to select a
projection
|
![]() ![]() | SelectProjectionEx |
Displays the projection selection dialog to allow the user to select a projection
|
![]() | 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.
|
![]() ![]() | 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.
|
![]() ![]() | 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.
|
![]() ![]() | 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.
|
![]() | ToString | Returns a string that represents the current object.
(Inherited from
Object
.)
|


