主题
Height (属性)
返回对象的高度(以磅为单位)。只读。
返回值
float
示例
python
#下例显示 Sheet1 上的第一个图表单位标签高度
def test():
displayUnitLabel = Application.Worksheets.Item("Sheet1").ChartObjects(1).Chart.Axes(xlValue).DisplayUnitLabel
print(displayUnitLabel.Height)
python
#本示例显示 Chart1 上单位标签高度
def test():
displayUnitLabel = Application.Charts.Item("Chart1").ChartObjects(1).Chart.Axes(xlValue).DisplayUnitLabel
print(displayUnitLabel.Height)