A renderable layer containing label information. Ideally each layer that wishes to show labels will have a corresponding label layer; but collision avoidance may work better with all in one layer. Developers may also prefer to put labels in one layer or in seperate layers by preference.


The following tables list the members exposed by RenderableLabelLayer.

Public Constructors

  Name Description
Public method RenderableLabelLayer Initializes a new instance of the RenderableLabelLayer class.
Top

Public Fields

  Name Description
Public field m_MapViewReference May be used by an object implementing this interface to do things like zoom to a shape by setting extents directly on the view control. (inherited from RenderableLayer)
Top

Private Fields

  Name Description
Private field m_Labels Contains a list of all labels in this layer.
Top

Public Properties

  Name Description
Public property LayerHandle Returns the handle of the layer (used to refer to it in the view or legend). (inherited from RenderableLayer)
Public property Visible Indicates or sets whether this layer should be drawn. (inherited from RenderableLayer)
Top

Public Methods

  Name Description
Public method AddLabel Adds a label to this labelling layer.
Public method CanCustomize Overridden. Returns whether this layer has customizable properties; e.g. fill color.
Public method CanRender Overridden. Requests the layer to determine whether it has anything to draw in the provided envelope.
Public method ClearLabels Removes all labels that had been previously added to this layer.
Public method CoversUnderlyingAreaCompletely Overridden. Requests the layer to identify whether it completely covers underlying features within the given bounds.
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method FullExtents Overridden. Returns the full extents that the layer includes data for.
Public method GetCustomizeObject Overridden. Returns a reference to a class with properties representing customizable options, which may be loaded into a PropertyGrid or analyzed and set using reflection.
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetLayerStateXML Overridden. Returns an XML fragment represending the state (e.g., raster coloring scheme, vector fill color) of the rendered layer, for use in reconstructing maps from saved projects.
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method Render Overridden. Handles rendering of the layer.
Public method SetLayerHandle Sets the handle of the layer. Called only by AddLayer functions. (inherited from RenderableLayer)
Public method SetLayerStateXML Overridden. Accepts an XML fragment represending the state (e.g., raster coloring scheme, vector fill color) of the rendered layer, for use in reconstructing maps from saved projects.
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Public method UnderlyingObject Overridden. Returns the underlying object implementing IRenderableLayer.
Public method UnderlyingObjectType Overridden. Returns the underlying System.Type of the object implementing IRenderableLayer.
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also