GM_LayerList_t Class
A list of GM Layer objects
Inheritance Hierarchy
SystemObject
  GlobalMapperGM_LayerList_t

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

Syntax
C#
public class GM_LayerList_t : IDisposable

The GM_LayerList_t type exposes the following members.

Constructors
NameDescription
Public methodGM_LayerList_t(Int32)
Default Constructor makes empty list with a specific capacity
Public methodGM_LayerList_t(GM_Layer_t, Boolean)
Default Constructor makes empty list with a specific capacity
Public methodGM_LayerList_t(GM_Layer_t, Boolean)
Constructor to make a List from an array of Layers
Public methodGM_LayerList_t(GM_LayerList_t, Boolean)
Constructor to make a List from an array of Layers
Top
Methods
NameDescription
Public methodAdd
Adds a layer to the list
Public methodClear
Removes all layers from list
Public methodContains
Checks to see if the list contains the given layer
Public methodDispose
Closes all layers in the given list
Public methodDraw
Draws one or more layers to the provided device context at the given location.
Public methodStatic memberDrawLayerList
Draws one or more layers to the provided device context at the given location.
Public methodStatic memberDrawLayerListToMemory
Draws the specified portion of the specified layers to the provided memory buffer. If no layers are explicitly specified, all loaded layers will be drawn.
Public methodDrawToMemory
Draws the specified portion of the specified layers to the provided memory buffer. If no layers are explicitly specified, all loaded layers will be drawn.
Public methodEmpty
Checks to see if layer is empty
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetLoadedLayerList
Returns a list of LayerHandles
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns index of the given layer or -1 if not found
Public methodInsert
Inserts at the given index pushing all succeeding items back
Public methodStatic memberLoadLayerList
Loads layer(s) from a file. A pointer to a list containing handles to the loaded layers is returned. Additional load options can be specified using the aExtraLoadOptions string.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes a given Layer
Public methodRemoveAt
Remove the Layer at a given index
Public methodShowOptionsDialog
Show display options dialog for layer(s)
Public methodToArray
Used to make a standard array of items
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
NameDescription
Public propertyCount
Number of Layers in the List
Public propertyIsFixedSize
Is the Layer List a Fixed Size
Public propertyIsReadOnly
Is the Layer List Read Only?
Public propertyItem
Gets the layer at the selected index
Top
See Also