MailingLabel.CreateNewDocumentByID Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public Microsoft.Office.Interop.Word.Document CreateNewDocumentByID (ref object LabelID, ref object Address, ref object AutoText, ref object ExtractAddress, ref object LaserTray, ref object PrintEPostageLabel, ref object Vertical);
abstract member CreateNewDocumentByID : obj * obj * obj * obj * obj * obj * obj -> Microsoft.Office.Interop.Word.Document
Public Function CreateNewDocumentByID (Optional ByRef LabelID As Object, Optional ByRef Address As Object, Optional ByRef AutoText As Object, Optional ByRef ExtractAddress As Object, Optional ByRef LaserTray As Object, Optional ByRef PrintEPostageLabel As Object, Optional ByRef Vertical As Object) As Document
Parameters
- LabelID
- Object
The mailing label identification.
- Address
- Object
The text for the mailing label.
- AutoText
- Object
The name of the AutoText entry that includes the mailing label text.
- ExtractAddress
- Object
True to use the address text marked by the user-defined bookmark named "EnvelopeAddress" instead of using the Address
argument.
- LaserTray
- Object
The laser printer tray. Can be one of the WdPaperTray constants.
- PrintEPostageLabel
- Object
True to print postage using an Internet e-postage vendor.
- Vertical
- Object
True formats text vertically on the label. Used for Asian-language mailing labels.