GM_Layer_t Methods

The GM_Layer_t type exposes the following members.

Methods
Name Description
Public method AddAreaToVectorLayer
Adds a area feature to a loaded vector layer
Public method AddLineToVectorLayer
Adds a point feature to a loaded vector layer
Public method AddPointToVectorLayer
Adds a point feature to a loaded vector layer
Public method Close
Closes Layer and cleans unmanaged code. Returns GM_Error_t32
Public method Static member CombineTerrainLayers
Creates a new terrain layer by combining 2 loaded terrain grid layers (not implemented on WinCE)
Public method Static member CreateCustomElevGridLayer
Creates a new custom layer for an in-memory elevation grid (not implemented on WinCE)
Public method Static member CreateCustomRasterLayer
Creates a new custom layer for an in-memory raster grid (not implemented on WinCE)
Public method Static member CreateCustomVectorLayer
Creates a new custom layer for adding vector features to
Public method Static member CreateVectorLayerFromFindResults
Creates a new vector layer from the results of a find operation
Public method Dispose
Does the Same thing as Close
Public method Draw
Draws the specified portion of the specified layer to the DIB. If no layer is explicitly specified, all loaded layers will be drawn.
Public method Equals
Compares equality of two layers based off their handles
(Overrides ObjectEquals(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 FlushCache
Flushes any in-memory cache for the layer (mainly useful in low-memory environments)
Public method GetAreaFeature
Gets a Area Feature in this layer at the specified index with optional flags.
Public method GetAreaFeatureEx
Gets a Area Feature in this layer at the specified index with optional flags.
Public method Static member GetAvailableOnlineSourceList
Retrieves a list of all available online sources
Public method GetFeatureElevation
Gives the elevation of a feature. Set the name of the elevation attribute using GM_Layer_m.SetLayerElevationAttribute().
Public method GetHashCode
Gets the Hash Code
(Overrides ObjectGetHashCode.)
Public method GetLayerInfo
Returns a copy of information about the specified layer. Returns NULL if the layer is not loaded.
Public method GetLayerLidarStats
Retrieves the statistics for a Lidar layer
Public method GetLidarPoint
Retrieves the Lidar point feature at the given index from the layer
Public method GetLineFeature
Gets a Line Feature in this layer at the specified index with optional flags.
Public method GetLineFeatureEx
Gets a Line Feature in this layer at the specified index with optional flags.
Public method GetLocationColor(Double, Double, GM_Color_t)
Retrieves the color at a given location from a provided layer or from the list of currently loaded raster and elevation layers (topmost layer first).
Public method Static member GetLocationColor(GM_Layer_t, Double, Double, GM_Color_t)
Retrieves the color at a given location from a provided layer or from the list of currently loaded raster and elevation layers (topmost layer first).
Public method GetLocationElevation(Double, Double, Single)
Retrieves the elevation at a given location from a provided layer or from the list of currently loaded elevation layers (topmost elevation layer first).
Public method Static member GetLocationElevation(GM_Layer_t, Double, Double, Single)
Retrieves the elevation at a given location from a provided layer or from the list of currently loaded elevation layers (topmost elevation layer first).
Public method Static member GetOnlineSourceInfo
Gets detailed information about an online source and checks availability
Public method GetPixelBandValue(Int32, Int32, Int32, Int32)
Retrieves the band value at a given pixel location in the provided layer.
Public method Static member GetPixelBandValue(GM_Layer_t, Int32, Int32, Int32, Int32)
Retrieves the band value at a given pixel location in the provided layer.
Public method GetPixelColor(Int32, Int32, GM_Color_t)
Retrieves the color at a given pixel location in the provided layer.
Public method Static member GetPixelColor(GM_Layer_t, Int32, Int32, GM_Color_t)
Retrieves the color at a given pixel location in the provided layer.
Public method GetPixelColorRow(Int32, Color, Color)
Retrieves an entire row of color values from the provided layer.
Public method Static member GetPixelColorRow(GM_Layer_t, Int32, Color, Color)
Retrieves an entire row of color values from the provided layer.
Public method GetPixelElevation(Int32, Int32, Single)
Retrieves the elevation at a given pixel location in the provided layer.
Public method Static member GetPixelElevation(GM_Layer_t, Int32, Int32, Single)
Retrieves the elevation at a given pixel location in the provided layer.
Public method GetPixelElevationRow(Int32, Single, Single)
Retrieves an entire row of elevation values from the provided layer.
Public method Static member GetPixelElevationRow(GM_Layer_t, Int32, Single, Single)
Retrieves an entire row of elevation values from the provided layer.
Public method GetPointFeature
Gets a copy of a Point Feature in this layer at the specified index with optional flags.
Public method GetPointFeatureEx
Gets a copy of a Point Feature in this layer at the specified index with optional flags.
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method IsFeatureDeleted
Queries the delete status of the feature at the given index in the layer
Public method Static member LoadGenericAsciiTextLayer
Loads a new layer from a simple ASCII text file file. A pointer to the layer is stored for use in later calls.
Public method Static member LoadLayer
Displays a prompt to select which file to load.
Public method Static member LoadOnlineLayer
Loads data from an online source, like a WMS server or TerraServer-USA
Public method Static member LoadRectifiedLayer
Loads a new layer from a file. A pointer to the layer is stored for use in later calls. The layer will be rectified using the ground control points and projection provided.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RepositionLayer
Repositions/reprojects a previously loaded raster layer
Public method SetAreaFeatureClass
Sets the classification to use for the given feature.
Public method SetAreaFeatureDrawStyle
Sets the drawing style to use for the area feature
Public method SetAreaFeaturePointList
Sets the list of point locations to use for a given area feature
Public method SetAreaFeaturePointListEx
Sets the list of point locations to use for a given area feature, including per-vertex elevations.
Public method SetCodePage
Sets the codepage interpretation for the layer
Public method SetFeatureAttrList
Sets the list of attribute/values to use for the specified feature.
Public method SetFeatureDelete
Changes the delete status of the feature at the given index in the layer
Public method SetFeatureDescription
Sets the description to use for the feature.
Public method SetFeatureLabel
Sets the display label to use for the feature.
Public method SetLayerDescription
Sets the description for the layer
Public method SetLayerElevationAttribute
Sets the name of the attribute to use for retrieving the elevation value of features within this layer.
Public method SetLayerElevationUnits
Sets the elevation units to use for 3D vector features without an elevation unit in the elevation attribute
Public method SetLayerEnabled
Sets whether or not a given layer is enabled for display. If disabled, the layer will never be drawn or used as input for other translucent or texture-mapped layers.
Public method SetLayerHeightAttribute
Sets the name of the attribute to use for retrieving the height value of point features within this layer.
Public method SetLayerHeightUnits
Sets the height units to use for 3D vector features without a height unit in the height attribute
Public method SetLayerLabelAttribute
Sets the name of the attribute to use for setting the display label of features within this layer.
Public method SetLayerPalette
Sets a custom palette for the layer to override the existing palette. Only works for palette-based layers.
Public method SetLayerUserData
Sets the user data for the layer.
Public method SetLayerUserText
Sets the user text for the layer. Persistent through save to workspace.
Public method SetLidarPoint
Sets the Lidar point feature at the given index from the layer
Public method SetLineFeatureClass
Sets the classification to use for the given feature.
Public method SetLineFeatureDrawStyle
Sets the drawing style to use for the line feature
Public method SetLineFeaturePointList
Sets the list of point locations to use for a given line feature
Public method SetLineFeaturePointListEx
Sets the list of point locations to use for a given line feature, including elevation list.
Public method SetPointFeatureClass
Sets the classification to use for the given feature.
Public method SetPointFeatureDrawStyle
Sets the drawing style to use for the point feature
Public method SetPointFeaturePosition
Sets the location to use for a given point feature
Public method ShowOptionsDialog
Show display options dialog for layer(s)
Public method ToString
Returns a string representation of the object
(Overrides ObjectToString.)
Top
See Also