CustomLabels Interface

A collection of CustomLabel objects available in the Label Options dialog box.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("00020916-0000-0000-C000-000000000046")> _
Public Interface CustomLabels _
    Inherits IEnumerable
'Usage
Dim instance As CustomLabels
[GuidAttribute("00020916-0000-0000-C000-000000000046")]
public interface CustomLabels : IEnumerable

Remarks

The CustomLabels collection includes custom labels of all printer types (dot-matrix, laser, and ink-jet printers).

Use the CustomLabels property to return the CustomLabels collection.

Use the Add method to create a custom label.

Use CustomLabels(index), where index is the custom label name or index number, to return a single CustomLabel object.

The index number represents the position of the custom mailing label in the CustomLabels collection.

See Also

Reference

CustomLabels Members

Microsoft.Office.Interop.Word Namespace