A renderable layer which contains user-defined drawings. Also exposes an OnRender event to allow user-level drawing operations to take place midway through rendering of layers (by placing this DrawingLayer object at the desired position in the layer stack). Drawing may be done directly to the resource, or by calling drawing functions. Drawings may be screen-referenced (always in place) or world-referenced (moves with the map data on pans, etc).
The following tables list the members exposed by RenderableDrawingLayer.
Public Constructors
| Name | Description | |
|---|---|---|
|
RenderableDrawingLayer |
Initializes a new instance of the |
Public Fields
| Name | Description | |
|---|---|---|
|
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) |
Private Fields
| Name | Description | |
|---|---|---|
|
m_DrawListScreenReferenced | A list of drawings to be screen referenced. |
|
m_DrawListSpatiallyReferenced | A list of drawings to be spatially referenced. |
Public Properties
| Name | Description | |
|---|---|---|
|
LayerHandle | Returns the handle of the layer (used to refer to it in the view or legend). (inherited from RenderableLayer) |
|
Visible | Indicates or sets whether this layer should be drawn. (inherited from RenderableLayer) |
Public Methods
| Name | Description | |
|---|---|---|
|
AddShape | Overloaded. M:MapWinView.RenderableDrawingLayer.AddShape(MapWinView.RenderableDrawingLayer.dlIcon,MapWinView.RenderableDrawingLayer.Referencing) Adds a shape to this layer with the specified referencing type. |
|
CanCustomize | Overridden. Returns whether this layer has customizable properties; e.g. fill color. |
|
CanRender | Overridden. Tells the map control whether this layer can render presently. |
|
ClearDrawings | Clears any drawings that were added to this drawing layer in the past. |
|
CoversUnderlyingAreaCompletely | Overridden. Requests the layer to identify whether it completely covers underlying features within the given bounds. |
|
Equals | Determines whether the specified |
|
FullExtents | Overridden. Returns the full extents that the layer includes data for. |
|
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. |
|
GetHashCode | Serves as a hash function for a particular type. |
|
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. |
|
GetType | Gets the |
|
Render | Overridden. Handles rendering of the layer. |
|
SetLayerHandle | Sets the handle of the layer. Called only by AddLayer functions. (inherited from RenderableLayer) |
|
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. |
|
ToString | Returns a |
|
UnderlyingObject | Overridden. Returns the underlying object implementing IRenderableLayer. |
|
UnderlyingObjectType | Overridden. Returns the underlying System.Type of the object implementing IRenderableLayer. |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | Allows an |
|
MemberwiseClone | Creates a shallow copy of the current |