Share via


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
Public property ActionInfo Gets a set of actions for the dockable item. (Inherited from MapDockableSubItem.)
Public property AutoFitTextDisabled Indicates whether text autosizing is disabled.
Public property BottomMargin Gets the bottom margin for the subitem. (Inherited from MapSubItem.)
Public property DockOutsideViewport Gets a value that indicates whether the dockable item will be docked outside a map viewport. (Inherited from MapDockableSubItem.)
Public property EquallySpacedItems Indicates whether legend items will be equally spaced.
Public property FieldsUsedInValueExpression Gets the fields that are used in a value expression. (Inherited from MapDockableSubItem.)
Public property Hidden Gets a value that indicates whether the dockable item will be hidden. (Inherited from MapDockableSubItem.)
Public property Instance Gets the report instance object that contains the calculated values of this report definition object.
Public property InterlacedRows Indicates whether the legend rows will use interlaced colors.
Public property InterlacedRowsColor Gets the color of the interlaced rows in the map legend.
Public property Layout Gets the arrangement of labels in the map legend.
Public property LeftMargin Gets the left margin for the subitem. (Inherited from MapSubItem.)
Public property MapLegendTitle Gets a title for the map legend.
Public property MapLocation Gets the location of the subitem. (Inherited from MapSubItem.)
Public property MapSize Gets the size of the subitem. (Inherited from MapSubItem.)
Public property MinFontSize Gets the minimum font size for the auto-sizing algorithm of the legend text.
Public property Name Gets a name for the map legend.
Public property Position Gets the position of the dockable item in the map. (Inherited from MapDockableSubItem.)
Public property RightMargin Gets the right margin for the subitem. (Inherited from MapSubItem.)
Public property Style Gets the style information for the subitem. (Inherited from MapSubItem.)
Public property TextWrapThreshold Gets the number of characters after which to wrap the legend text.
Public property ToolTip Gets the tooltip text for the dockable item. (Inherited from MapDockableSubItem.)
Public property TopMargin Gets the top margin for the subitem. (Inherited from MapSubItem.)
Public property UniqueName Gets the unique identifier for this report definition object. (Inherited from MapDockableSubItem.)
Public property ZIndex Gets the drawing order of the subitem. (Inherited from MapSubItem.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IMapObjectCollectionItem.SetNewContext Infrastructure. Sets a new context for the collection. (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.

See Also

Reference

Microsoft.ReportingServices.OnDemandReportRendering Namespace