Infragistics(R) NetAdvantage(R) WPF
TopLeftCornerCell Property
See Also  E-mail your feedback on this topic.
Infragistics.Documents.Excel Namespace > WorksheetShape Class : TopLeftCornerCell Property

Gets or sets the cell where the top-left corner of the shape resides.

Syntax

Visual Basic (Declaration) 
Public Property TopLeftCornerCell As WorksheetCell
C# 
public WorksheetCell TopLeftCornerCell {get; set;}

Property Value

The cell where the top-left corner of the shape resides.

Exceptions

ExceptionDescription
System.ArgumentException The value assigned is a cell whose worksheet is not the same as this shape's worksheet.
System.ArgumentNullException The value assigned is null and this shape already exists on a worksheet or group.

Remarks

This anchor cell, along with the WorksheetShape.BottomRightCornerCell, determines where the shape will be positioned on the worksheet. In addition, the BottomRightCornerPosition and TopLeftCornerPosition properties allow for finer control of the shape's position.

See Also