Bewerken

Delen via


MailingLabel Interface

Definition

Represents a mailing label.

public interface class MailingLabel
[System.Runtime.InteropServices.Guid("00020917-0000-0000-C000-000000000046")]
public interface MailingLabel
type MailingLabel = interface
Public Interface MailingLabel
Attributes

Remarks

Use the MailingLabel property to return the MailingLabel object.

Use the PrintOut(Object, Object, Object, Object, Object, Object, Object, Object, Object) method to print a mailing label listed in the Product Number box in the Label Options dialog box.

Use the CustomLabels property to format or print a custom mailing label.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Creator

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

CustomLabels

Returns a CustomLabels collection that represents the available custom mailing labels.

DefaultLabelName

Returns or sets the name for the default mailing label.

DefaultLaserTray

Returns or sets the default paper tray that contains sheets of mailing labels.

DefaultPrintBarCode

True if a POSTNET bar code is added to envelopes or mailing labels by default.

Parent

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

Vertical

True vertically orients text on Asian envelopes and mailing labels.

Methods

CreateNewDocument(Object, Object, Object, Object, Object, Object, Object)

Creates a new label document using either the default label options or ones that you specify. Returns a Document object that represents the new document.

CreateNewDocument2000(Object, Object, Object, Object, Object)

Reserved for internal use.

CreateNewDocumentByID(Object, Object, Object, Object, Object, Object, Object)

Creates a new label document using either the default label options or ones that you specify. Returns a _Document object that represents the new document.

LabelOptions()

Displays the Label Options dialog box.

PrintOut(Object, Object, Object, Object, Object, Object, Object, Object, Object)

Prints a label or a page of labels with the same address.

PrintOut2000(Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

PrintOutByID(Object, Object, Object, Object, Object, Object, Object, Object, Object)

Prints a label or a page of labels with the same address.

Applies to