Export (0) Print
Expand All

Envelope.PrintOut method

Prints an envelope without adding the envelope to the active document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void PrintOut(
	ref Object ExtractAddress,
	ref Object Address,
	ref Object AutoText,
	ref Object OmitReturnAddress,
	ref Object ReturnAddress,
	ref Object ReturnAutoText,
	ref Object PrintBarCode,
	ref Object PrintFIMA,
	ref Object Size,
	ref Object Height,
	ref Object Width,
	ref Object FeedSource,
	ref Object AddressFromLeft,
	ref Object AddressFromTop,
	ref Object ReturnAddressFromLeft,
	ref Object ReturnAddressFromTop,
	ref Object DefaultFaceUp,
	ref Object DefaultOrientation,
	ref Object PrintEPostage,
	ref Object Vertical,
	ref Object RecipientNamefromLeft,
	ref Object RecipientNamefromTop,
	ref Object RecipientPostalfromLeft,
	ref Object RecipientPostalfromTop,
	ref Object SenderNamefromLeft,
	ref Object SenderNamefromTop,
	ref Object SenderPostalfromLeft,
	ref Object SenderPostalfromTop
)

Parameters

ExtractAddress
Type: System.Object

Optional Object. True to use the text marked by the "EnvelopeAddress" bookmark (a user-defined bookmark) as the recipient's address.

Address
Type: System.Object

Optional Object. A string that specifies the recipient's address (ignored if ExtractAddress is True).

AutoText
Type: System.Object

Optional Object. The name of the AutoText entry that includes a recipient's address.

OmitReturnAddress
Type: System.Object

Optional Object. True to omit the return address.

ReturnAddress
Type: System.Object

Optional Object. A string that specifies the return address.

ReturnAutoText
Type: System.Object

Optional Object. The name of the AutoText entry that includes a return address.

PrintBarCode
Type: System.Object

Optional Object. True to add a POSTNET bar code. For U.S. mail only.

PrintFIMA
Type: System.Object

Optional Object. True to add a Facing Identification Mark (FIM-A) for use in presorting courtesy reply mail. For U.S. mail only.

Size
Type: System.Object

Optional Object. A string that specifies the envelope size. The string should match one of the sizes listed on the left side of the Envelope size box in the Envelope Options dialog box (for example, "Size 10").

Height
Type: System.Object

Optional Object. The height of the envelope (in points) when the Size argument is set to "Custom size."

Width
Type: System.Object

Optional Object. The width of the envelope (in points) when the Size argument is set to "Custom size."

FeedSource
Type: System.Object

Optional Object. True to use the FeedSource property of the Envelope object to specify which paper tray to use when printing the envelope.

AddressFromLeft
Type: System.Object

Optional Object. The distance (in points) between the left edge of the envelope and the recipient's address.

AddressFromTop
Type: System.Object

Optional Object. The distance (in points) between the top edge of the envelope and the recipient's address.

ReturnAddressFromLeft
Type: System.Object

Optional Object. The distance (in points) between the left edge of the envelope and the return address.

ReturnAddressFromTop
Type: System.Object

Optional Object. The distance (in points) between the top edge of the envelope and the return address.

DefaultFaceUp
Type: System.Object

Optional Object. True to print the envelope face up; False to print it face down.

DefaultOrientation
Type: System.Object

Optional Object. The orientation of the envelope. Can be any WdEnvelopeOrientation constant.

PrintEPostage
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 envelope. Used for Asian-language envelopes.

RecipientNamefromLeft
Type: System.Object

Optional Object. The position of the recipient's name, measured in points, from the left edge of the envelope. Used for Asian-language envelopes.

RecipientNamefromTop
Type: System.Object

Optional Object. The position of the recipient's name, measured in points, from the top edge of the envelope. Used for Asian-language envelopes.

RecipientPostalfromLeft
Type: System.Object

Optional Object. The position of the recipient's postal code, measured in points, from the left edge of the envelope. Used for Asian-language envelopes.

RecipientPostalfromTop
Type: System.Object

Optional Object. The position of the recipient's postal code, measured in points, from the top edge of the envelope. Used for Asian-language envelopes.

SenderNamefromLeft
Type: System.Object

Optional Object. The position of the sender's name, measured in points, from the left edge of the envelope. Used for Asian-language envelopes.

SenderNamefromTop
Type: System.Object

Optional Object. The position of the sender's name, measured in points, from the top edge of the envelope. Used for Asian-language envelopes.

SenderPostalfromLeft
Type: System.Object

Optional Object. The position of the sender's postal code, measured in points, from the left edge of the envelope. Used for Asian-language envelopes.

SenderPostalfromTop
Type: System.Object

Optional Object. The position of the sender's postal code, measured in points, from the top edge of the envelope. Used for Asian-language envelopes.

Show:
© 2014 Microsoft