Partager via


MailingLabel.Vertical Property (Word)

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

Syntax

expression .Vertical

expression Required. A variable that represents a MailingLabel object.

Example

This example determines if the active document is a mail merge mailing label document and if the language setting is Japanese, and if so, sets the mailing label's orientation to vertical.

Sub VerticalLabel() 
 If ActiveDocument.MailMerge.MainDocumentType = wdMailingLabels And 
 Application.Language = msoLanguageIDJapanese Then 
 Application.MailingLabel.Vertical = True 
 End If 
End Sub

See Also

Concepts

MailingLabel Object

MailingLabel Object Members