Upravit

Sdílet prostřednictvím


CustomLabels Interface

Definition

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

public interface class CustomLabels : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020916-0000-0000-C000-000000000046")]
public interface CustomLabels : System.Collections.IEnumerable
type CustomLabels = interface
    interface IEnumerable
Public Interface CustomLabels
Implements IEnumerable
Attributes
Implements

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(String, Object) 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.

Properties

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns the number of items in the specified collection.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Object]

Returns an individual object in a collection.

Parent

Returns an object that represents the parent object of the specified object.

Methods

Add(String, Object)

Adds a custom mailing label to the CustomLabels collection.

GetEnumerator()

Applies to