MapLegend Class
Represents a legend to be drawn in a map.
Inheritance Hierarchy
System.Object
  Microsoft.ReportingServices.OnDemandReportRendering.MapObjectCollectionItem
    Microsoft.ReportingServices.OnDemandReportRendering.MapSubItem
      Microsoft.ReportingServices.OnDemandReportRendering.MapDockableSubItem
        Microsoft.ReportingServices.OnDemandReportRendering.MapLegend
Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Public NotInheritable Class MapLegend _
    Inherits MapDockableSubItem
'Usage
Dim instance As MapLegend
public sealed class MapLegend : MapDockableSubItem
public ref class MapLegend sealed : public MapDockableSubItem
[<SealedAttribute>]
type MapLegend =  
    class
        inherit MapDockableSubItem
    end
public final class MapLegend extends MapDockableSubItem
The MapLegend type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]()  | 
ActionInfo | Gets a set of actions for the dockable item. (Inherited from MapDockableSubItem.) | 
![]()  | 
AutoFitTextDisabled | Indicates whether text autosizing is disabled. | 
![]()  | 
BottomMargin | Gets the bottom margin for the subitem. (Inherited from MapSubItem.) | 
![]()  | 
DockOutsideViewport | Indicates whether the dockable item will be docked outside a map viewport. (Inherited from MapDockableSubItem.) | 
![]()  | 
EquallySpacedItems | Indicates whether legend items will be equally spaced. | 
![]()  | 
FieldsUsedInValueExpression | Gets the fields that are used a value expression. (Inherited from MapDockableSubItem.) | 
![]()  | 
Hidden | Indicates whether the dockable item will be hidden. (Inherited from MapDockableSubItem.) | 
![]()  | 
Instance | Gets the report instance object that contains the calculated values of this report definition object. | 
![]()  | 
InterlacedRows | Indicates whether the legend rows will use interlaced colors. | 
![]()  | 
InterlacedRowsColor | Gets the color of the interlaced rows in the map legend. | 
![]()  | 
Layout | Gets the arrangement of labels in the map legend. | 
![]()  | 
LeftMargin | Gets the left margin for the subitem. (Inherited from MapSubItem.) | 
![]()  | 
MapLegendTitle | Gets a title for the map legend. | 
![]()  | 
MapLocation | Gets the location of the subitem. (Inherited from MapSubItem.) | 
![]()  | 
MapSize | Gets the size of the subitem. (Inherited from MapSubItem.) | 
![]()  | 
MinFontSize | Gets the minimum font size for the auto-sizing algorithm of the legend text. | 
![]()  | 
Name | Gets a name for the map legend. | 
![]()  | 
Position | Gets the position of the dockable item in the map. (Inherited from MapDockableSubItem.) | 
![]()  | 
RightMargin | Gets the right margin for the subitem. (Inherited from MapSubItem.) | 
![]()  | 
Style | Gets style information for the subitem. (Inherited from MapSubItem.) | 
![]()  | 
TextWrapThreshold | Gets the number of characters after which to wrap the legend text. | 
![]()  | 
ToolTip | Gets the tooltip text for the dockable item. (Inherited from MapDockableSubItem.) | 
![]()  | 
TopMargin | Gets the top margin for the subitem. (Inherited from MapSubItem.) | 
![]()  | 
UniqueName | Gets the unique identifier for this report definition object. (Inherited from MapDockableSubItem.) | 
![]()  | 
ZIndex | Gets the drawing order of the subitem. (Inherited from MapSubItem.) | 
Top
Methods
| Name | Description | |
|---|---|---|
![]()  | 
Equals | (Inherited from Object.) | 
![]()  | 
Finalize | (Inherited from Object.) | 
![]()  | 
GetHashCode | (Inherited from Object.) | 
![]()  | 
GetType | (Inherited from Object.) | 
![]()  | 
MemberwiseClone | (Inherited from Object.) | 
![]()  | 
ToString | (Inherited from Object.) | 
Top
Fields
| Name | Description | |
|---|---|---|
![]()  | 
m_instance | Infrastructure. (Inherited from MapObjectCollectionItem.) | 
![]()  | 
m_map | Infrastructure. (Inherited from MapSubItem.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]()  | 
IMapObjectCollectionItem.SetNewContext | (Inherited from MapObjectCollectionItem.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)