'Declaration Public Property TopLeftCornerCell As WorksheetCell
public WorksheetCell TopLeftCornerCell {get; set;}
Exception | Description |
---|---|
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. |
This anchor cell, along with the 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.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
View on GitHub