HorizontalAlignment 属性 (Excel) ChartTitleChartTitle.HorizontalAlignment property (Excel)

返回或设置一个 Variant 值,它代表指定对象的水平对齐方式。Returns or sets a Variant value that represents the horizontal alignment for the specified object.

语法Syntax

表达式HorizontalAlignmentexpression.HorizontalAlignment

_表达式_一个代表**ChartTitle** 对象的变量。expression A variable that represents a ChartTitle object.

说明Remarks

此属性的值可设置为**XlHAlign** 常量之一。The value of this property can be set to one of the XlHAlign constants.

某些常量可能不可用,这取决于所选择或安装的语言支持(例如,美国英语)。Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you've selected or installed.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.