Show / Hide Table of Contents

Class ExcelChartLegend

A chart ledger

Inheritance
System.Object
XmlHelper
ExcelChartLegend
Inherited Members
XmlHelper.AddSchemaNodeOrder(String[], String[])
XmlHelper.AddSchemaNodeOrder(String[], String[], Int32[])
XmlHelper.GetBoolFromString(String)
XmlHelper.CreatespPrNode(String, Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Syntax
public class ExcelChartLegend : XmlHelper, IDrawingStyle, IDrawingStyleBase, IStyleMandatoryProperties

Properties

Border

The Border style

Declaration
public ExcelDrawingBorder Border { get; }
Property Value
Type Description
ExcelDrawingBorder

Effect

Effects

Declaration
public ExcelDrawingEffectStyle Effect { get; }
Property Value
Type Description
ExcelDrawingEffectStyle

Fill

The Fill style

Declaration
public ExcelDrawingFill Fill { get; }
Property Value
Type Description
ExcelDrawingFill

Font

The Font properties

Declaration
public ExcelTextFont Font { get; }
Property Value
Type Description
ExcelTextFont

Overlay

If the legend overlays other objects

Declaration
public bool Overlay { get; set; }
Property Value
Type Description
System.Boolean

Position

The position of the Legend

Declaration
public eLegendPosition Position { get; set; }
Property Value
Type Description
eLegendPosition

TextBody

Access to text body properties

Declaration
public ExcelTextBody TextBody { get; }
Property Value
Type Description
ExcelTextBody

ThreeD

3D properties

Declaration
public ExcelDrawing3D ThreeD { get; }
Property Value
Type Description
ExcelDrawing3D

Methods

Add()

Adds a legend to the chart

Declaration
public void Add()

Remove()

Remove the legend

Declaration
public void Remove()
Back to top Generated by DocFX