PictureBox.TopLeftCell Property

Definition

Gets a Range object that represents the cell that lies under the upper-left corner of the PictureBox.

public:
 property Microsoft::Office::Interop::Excel::Range ^ TopLeftCell { Microsoft::Office::Interop::Excel::Range ^ get(); };
public Microsoft.Office.Interop.Excel.Range TopLeftCell { get; }
member this.TopLeftCell : Microsoft.Office.Interop.Excel.Range
Public ReadOnly Property TopLeftCell As Range

Property Value

A Range object that represents the cell that lies under the upper-left corner of the PictureBox.

Examples

For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.TopLeftCell. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent TopLeftCell property.

Applies to