Share via


MailingLabel.PrintOutByID 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 PrintOutByID ( _
    ByRef LabelID 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 LabelID 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.PrintOutByID(LabelID, Address, _
    ExtractAddress, LaserTray, SingleLabel, _
    Row, Column, PrintEPostageLabel, _
    Vertical)
void PrintOutByID(
    ref Object LabelID,
    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

  • ExtractAddress
    Type: System.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.
  • SingleLabel
    Type: System.Object%
    True to print a single label; False to print an entire page of the same label.
  • Row
    Type: System.Object%
    The label row for a single label. Not valid if SingleLabel is False.
  • Column
    Type: System.Object%
    The label column for a single label. Not valid if SingleLabel is False.
  • PrintEPostageLabel
    Type: System.Object%
    True to print postage using an Internet e-postage vendor.
  • Vertical
    Type: System.Object%
    True prints text vertically on the label. Used for Asian-language mailing labels.

See Also

Reference

MailingLabel Interface

MailingLabel Members

Microsoft.Office.Interop.Word Namespace