Represents a Windows Forms Label that can be added to a Microsoft Office Excel worksheet.
[System.ComponentModel.DefaultEvent("Click")] [System.ComponentModel.DefaultProperty("Text")] [System.ComponentModel.ToolboxItem(false)] public class Label : System.Windows.Forms.Label
The Microsoft.Office.Tools.Excel.Controls.Label is different from a System.Windows.Forms.Label. The Microsoft.Office.Tools.Excel.Controls.Label has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.
Gets the distance, in points, between the bottom edge of the Label and the top edge of the worksheet.
Gets a value that indicates the application in which the Label was created.
Gets or sets the height of the Label.
Gets or sets the distance, in points, between the left edge of the Label and the left edge of the worksheet.
Gets or sets a value that indicates whether the Label can be modified at design time when the sheet is protected.
Gets a value that represents the OLE object type.
Gets the parent object for the Label.
Gets or sets an object that indicates the way the Label is attached to the cells below it.
Gets or sets a value that indicates whether the Label is printed when the worksheet is printed.
Gets the distance, in points, between the right edge of the Label and the left edge of the worksheet.
Gets or sets the link source name of the Label.
Gets or sets the distance, in points, between the top edge of the Label and the top edge of the worksheet.
Gets or sets a value that represents whether the Label is visible.
Gets or sets the width of the Label in points.
Gets the z-order position of the Label.
Activates the Label.
Brings the Label to the front of the z-order.
Copies the Label to the Clipboard as a picture.
Selects the Label.
Sends the Label to the back of the z-order.
Sets the Label to the specified visible state.