ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Legend Class


In This Topic
    Legend Class Methods
    In This Topic

    For a list of all members of this type, see Legend members.

    Public Methods
     NameDescription
    Public Method Compare Elements by name. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Convert the element to graphics. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public MethodOverloaded.  (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the anchor position of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Get the element anchor point location. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the bounding box for the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets a Custom Property value for the element. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Returns the element's CIM definition. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Serves as the default hash function. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the height of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the locked aspect ratio value of the element. If This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the parent of this element. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the rotation value for the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the width of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the X position of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Gets the Y position of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the anchor position of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the element anchor point to the X and Y location specified. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets multiple CustomProperty values for the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public MethodOverloaded.  (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public MethodApplies the changes made to a modified CIMElement back to the element on the page layout. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the height of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the locked state of an element on a page layout. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the locked aspect ratio value of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public MethodSets a MapFrame to the MapSurround. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.MapSurround)
    Public Method Sets the name of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the rotation value for the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the position of an element either at the top or bottom of the layout TOC or a group element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public MethodOverloaded.  (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the visibility of an element on a page layout. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the width of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the X position of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Public Method Sets the Y position of the element. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Layouts.Element)
    Top
    Protected Methods
    See Also