com.aspose.slides
Interface ILegend

All Superinterfaces:
IChartComponent, IFormattedTextContainer, ILayoutable, IPresentationComponent, ISlideComponent
All Known Implementing Classes:
Legend

public interface ILegend
extends ILayoutable, IFormattedTextContainer

Represents chart's legend properties.


Method Summary
 ILegendEntryCollection getEntries()
           Gets legend entries.
 IFormat getFormat()
           Returns the format of a legend.
 boolean getOverlay()
           Determines whether other chart elements shall be allowed to overlap legend.
 int getPosition()
           Specifies the position of the legend on a chart.
 void setOverlay(boolean value)
           Determines whether other chart elements shall be allowed to overlap legend.
 void setPosition(int value)
           Specifies the position of the legend on a chart.
 
Methods inherited from interface com.aspose.slides.ILayoutable
getBottom, getHeight, getRight, getWidth, getX, getY, setHeight, setWidth, setX, setY
 
Methods inherited from interface com.aspose.slides.IFormattedTextContainer
getTextFormat
 
Methods inherited from interface com.aspose.slides.IChartComponent
getChart
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 

Method Detail

getOverlay

boolean getOverlay()

Determines whether other chart elements shall be allowed to overlap legend. Read/write boolean.


setOverlay

void setOverlay(boolean value)

Determines whether other chart elements shall be allowed to overlap legend. Read/write boolean.


getPosition

int getPosition()

Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Heigt properties override effect of this property. Read/write LegendPositionType.


setPosition

void setPosition(int value)

Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Heigt properties override effect of this property. Read/write LegendPositionType.


getFormat

IFormat getFormat()

Returns the format of a legend. Read-only IFormat.


getEntries

ILegendEntryCollection getEntries()

Gets legend entries. Read-only ILegendEntryCollection.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.