共用方式為


Label.ZOrder Property

Gets the z-order position of the Label.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property ZOrder As Integer
public int ZOrder { get; }

Property Value

Type: System.Int32
The z-order position of the Label.

Remarks

The z-order is determined by the OLEObjects collection.

In any collection of objects, the object at the back of the z-order is collection(1), and the object at the front of the z-order is collection(collection.Count).

Examples

For a code example that demonstrates how to use this property, see Button.ZOrder. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent ZOrder property.

.NET Framework Security

See Also

Reference

Label Class

Microsoft.Office.Tools.Excel.Controls Namespace