Microsoft.Office.Interop.Wo ...


Word Primary Interop Assembly Reference
CustomLabel Interface
Represents a custom mailing label.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Visual Basic
Public Class ustomLabelImplementation
    Implements CustomLabel
End Class
Dim ustomLabelImplementation1 As New ustomLabelImplementation()
Syntax

Visual Basic
Public Interface CustomLabel
C#
public interface CustomLabel
C++
public interface class CustomLabel
J#
public interface CustomLabel
JScript
public interface CustomLabel
Remarks

The CustomLabel object is a member of the CustomLabels collection. The CustomLabels collection contains all the custom mailing labels listed in the Label Options dialog box.

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.

Note:
CustomLabel objects are sorted alphabetically in the CustomLabels collection and their index numbers are dynamically reassigned as the contents of the collection change. For that reason, it is safer to refer to a specific CustomLabel object by name rather than by index number.

Use the Add method to create a custom label.


Platforms

Development Platforms

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

Target Platforms

See Also

Page view tracker