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)

Usage

Public Class ustomLabelsImplementation
    Implements CustomLabels
End Class
Dim ustomLabelsImplementation1 As New ustomLabelsImplementation()

Syntax

Public Interface CustomLabels
    Inherits IEnumerable
public interface CustomLabels : IEnumerable
public interface class CustomLabels : public IEnumerable
public interface CustomLabels implements IEnumerable
public interface CustomLabels implements 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

CustomLabels Members