Legend

概述

Legend 是 Aspose.Slides FOSS 中用于 Python 的类。继承自:ILegend。

表示图表的图例属性。

属性:actual_height、actual_width、actual_x、actual_y、as_i_chart_component、as_i_presentation_component,以及另外 15 项。

属性

名称类型访问描述
positionLegendPositionType读写指定图例在图表上的位置。
overlaybool读写决定是否允许其他图表元素与图例重叠。
formatIFormat读取返回图例的格式。
text_formatIChartTextFormat读取文本格式。
entriesILegendEntryCollection读取获取图例条目。
xfloat读写X 坐标为图表宽度的比例。
yfloat读写Y 坐标为图表高度的比例。
widthfloat读写宽度为图表宽度的比例。
heightfloat读写高度占图表高度的比例。
rightfloat读取右边界。
bottomfloat读取底部边界。
chart``读取返回父 chart。
as_i_chart_componentIChartComponent读取允许获取基础 IChartComponent 接口。
as_i_slide_componentISlideComponent读取获取 as i slide 组件。
slideIBaseSlide读取获取幻灯片。
as_i_presentation_componentIPresentationComponent读取获取 as i 呈现组件。
presentationIPresentation读取获取呈现。
actual_xfloat读取指定图表元素相对于图表左上角的实际 x 位置(左)。
actual_yfloat读取指定图表元素相对于图表左上角的实际顶部位置。
actual_widthfloat读取指定图表元素的实际宽度。
actual_heightfloat读取指定图表元素的实际高度。

另请参阅

 中文