Partager via


MailingLabel Members (Word)

Represents a mailing label.

Methods

Name

Description

CreateNewDocument

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.

CreateNewDocumentByID

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

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

PrintOutByID

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

Properties

Name

Description

Application

Returns an 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. Read-only Long.

CustomLabels

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

DefaultLabelName

Returns or sets the name for the default mailing label. Read/write String.

DefaultLaserTray

Returns or sets the default paper tray that contains sheets of mailing labels. Read/write WdPaperTray.

Parent

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

Vertical

True vertically orients text on Asian mailing labels. Read/write Boolean.