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

Gets or sets the position in the WorksheetShape.TopLeftCornerCell of the shape's top-left corner, expressed in percentages.

Syntax

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

Property Value

The position in the top-left corner cell of the shape's top-left corner.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException Either coordinate of the value assigned is outside the range of 0.0 to 100.0.

Remarks

These percentages are expressed as distance across the associated dimension of the cell, starting at the top-left corner of the cell. For example, (0.0, 0.0) represents the top-left corner of the cell, whereas (100.0, 100.0) represents the bottom-right corner of the cell. (50.0, 10.0) would represent the location in the cell which is centered horizontally, and a tenth of the way down from the top.

See Also