Expand Minimize
This topic has not yet been rated - Rate this topic

XmlMappedRange.Left Property

Gets a value that represents the distance from the left edge of column A to the left edge of the XmlMappedRange control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Object Left { get; }

Property Value

Type: System.Object
The distance from the left edge of column A to the left edge of the XmlMappedRange control.

The following code example uses the Left and Top properties to display the distance from the left edge of column A to the left edge of an XmlMappedRange, and the distance from the top of row 1 to the top edge of the XmlMappedRange. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.


private void DisplayLeftAndTop()
{
    MessageBox.Show("The left border of CustomerLastNameCell is at " +
    this.CustomerLastNameCell.Left + " and the top is at " +
    this.CustomerLastNameCell.Top + ".");
}


Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.