接口 ILegendKey
public interface ILegendKey
Represents a legend key in a chart legend.
-
方法概要
修饰符和类型方法说明void
Clears the formatting of the object.void
delete()
Deletes the object.Returns theIChartFormat
object.boolean
Gets whether the pattern is inverted when the number is negative (True if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number).Gets market format.int
Returns the data-marker size, in points.Returns the marker style for a legend key in a line chart, scatter chart, or radar chart.Returns the parent object for the specified object.double
Returns the unit for each picture on the chart if the Microsoft.Office.Interop.Excel.LegendKey.PictureType property is set to StackScale (if not, this property is ignored).boolean
True if the font is a shadow font or if the object has a shadow.boolean
True if curve smoothing is turned on for the line chart or scatter chart.void
setInvertIfNegative
(boolean value) Sets whether the pattern is inverted when the number is negative (True if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number).void
setMarkerSize
(int value) Sets the data-marker size, in points.void
setMarkerStyle
(MarkerStyle value) Sets the marker style for a legend key in a line chart, scatter chart, or radar chart.void
setPictureUnit
(double value) Sets the unit for each picture on the chart if the Microsoft.Office.Interop.Excel.LegendKey.PictureType property is set to StackScale (if not, this property is ignored).void
setShadow
(boolean value) True if the font is a shadow font or if the object has a shadow.void
setSmooth
(boolean value) True if curve smoothing is turned on for the line chart or scatter chart.
-
方法详细资料
-
getFormat
IChartFormat getFormat()Returns theIChartFormat
object. -
getInvertIfNegative
boolean getInvertIfNegative()Gets whether the pattern is inverted when the number is negative (True if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number). -
setInvertIfNegative
void setInvertIfNegative(boolean value) Sets whether the pattern is inverted when the number is negative (True if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number). -
getMarkerFormat
IChartFormat getMarkerFormat()Gets market format. -
getMarkerSize
int getMarkerSize()Returns the data-marker size, in points. -
setMarkerSize
void setMarkerSize(int value) Sets the data-marker size, in points. -
getMarkerStyle
MarkerStyle getMarkerStyle()Returns the marker style for a legend key in a line chart, scatter chart, or radar chart. -
setMarkerStyle
Sets the marker style for a legend key in a line chart, scatter chart, or radar chart. -
getParent
ILegendEntry getParent()Returns the parent object for the specified object. -
getPictureUnit
double getPictureUnit()Returns the unit for each picture on the chart if the Microsoft.Office.Interop.Excel.LegendKey.PictureType property is set to StackScale (if not, this property is ignored). -
setPictureUnit
void setPictureUnit(double value) Sets the unit for each picture on the chart if the Microsoft.Office.Interop.Excel.LegendKey.PictureType property is set to StackScale (if not, this property is ignored). -
getShadow
boolean getShadow()True if the font is a shadow font or if the object has a shadow. -
setShadow
void setShadow(boolean value) True if the font is a shadow font or if the object has a shadow. -
getSmooth
boolean getSmooth()True if curve smoothing is turned on for the line chart or scatter chart. Applies only to line and scatter charts. -
setSmooth
void setSmooth(boolean value) True if curve smoothing is turned on for the line chart or scatter chart. Applies only to line and scatter charts. -
clearFormats
void clearFormats()Clears the formatting of the object. -
delete
void delete()Deletes the object.
-