MailingLabel.PrintOut Method
Prints a label or a page of labels with the same address.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub PrintOut ( _
ByRef Name As Object, _
ByRef Address As Object, _
ByRef ExtractAddress As Object, _
ByRef LaserTray As Object, _
ByRef SingleLabel As Object, _
ByRef Row As Object, _
ByRef Column As Object, _
ByRef PrintEPostageLabel As Object, _
ByRef Vertical As Object _
)
'Usage
Dim instance As MailingLabel
Dim Name As Object
Dim Address As Object
Dim ExtractAddress As Object
Dim LaserTray As Object
Dim SingleLabel As Object
Dim Row As Object
Dim Column As Object
Dim PrintEPostageLabel As Object
Dim Vertical As Object
instance.PrintOut(Name, Address, ExtractAddress, _
LaserTray, SingleLabel, Row, Column, _
PrintEPostageLabel, Vertical)
void PrintOut(
ref Object Name,
ref Object Address,
ref Object ExtractAddress,
ref Object LaserTray,
ref Object SingleLabel,
ref Object Row,
ref Object Column,
ref Object PrintEPostageLabel,
ref Object Vertical
)
Parameters
- Name
Type: System.Object%
Optional Object. The mailing label name.
- Address
Type: System.Object%
Optional Object. The text for the label address.
- ExtractAddress
Type: System.Object%
Optional Object. True to use the text marked by the "EnvelopeAddress" bookmark (a user-defined bookmark) as the label text. If this argument is specified, Address and AutoText are ignored.
- LaserTray
Type: System.Object%
Optional Object. The laser printer tray to be used. Can be any WdPaperTray constant.
- SingleLabel
Type: System.Object%
Optional Object. True to print a single label; False to print an entire page of the same label.
- Row
Type: System.Object%
Optional Object. The label row for a single label. Not valid if SingleLabel is False.
- Column
Type: System.Object%
Optional Object. The label column for a single label. Not valid if SingleLabel is False.
- PrintEPostageLabel
Type: System.Object%
Optional Object. True to print postage using an Internet e-postage vendor.
- Vertical
Type: System.Object%
Optional Object. True prints text vertically on the label. Used for Asian-language mailing labels.