LinkLabel.Right 属性

获取 LinkLabel 的右边缘与文档的左边缘之间的距离(以磅为单位)。

命名空间:  Microsoft.Office.Tools.Word.Controls
程序集:  Microsoft.Office.Tools.Word.v4.0.Utilities(在 Microsoft.Office.Tools.Word.v4.0.Utilities.dll 中)

语法

声明
Public ReadOnly Property Right As Single
    Get
public float Right { get; }

属性值

类型:System.Single
LinkLabel 的右边缘和文档的左边缘之间的距离(以磅为单位)。

备注

Right 属性的值等于 Left 属性值与 Width 属性值之和。

LinkLabel.Right 属性使用磅值,而 Control.Right 属性使用像素值。

示例

有关演示如何使用此属性的代码示例,请参见 Button.RightMicrosoft.Office.Tools.Word.Controls 命名空间中的所有控件都具有在功能上等效的 Right 属性。

.NET Framework 安全性

请参见

参考

LinkLabel 类

Microsoft.Office.Tools.Word.Controls 命名空间