PictureBox.Right Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the distance, in points, between the right edge of the PictureBox and the left edge of the worksheet.
public:
property double Right { double get(); };
public double Right { get; }
member this.Right : double
Public ReadOnly Property Right As Double
The distance, in points, between the right edge of the PictureBox and the left edge of the worksheet.
For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.Right. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Right
property.
The value of the Right property is equal to the sum of the Left property value and the Width property value.
The Microsoft.Office.Tools.Excel.Controls.PictureBox.Right property uses points, whereas System.Windows.Forms.Control.Right property uses pixels.
Setting the value to a negative number or a number higher than 12288 does not throw an exception but results in the control being set between 0 and 12288.
Продукт | Версии |
---|---|
Visual Studio Tools for Office | 2017, 2019, 2022 |