Envelope.PrintOut 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.
Prints an envelope without adding the envelope to the active document.
public 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);
abstract member PrintOut : obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj -> unit
Public Sub PrintOut (Optional ByRef ExtractAddress As Object, Optional ByRef Address As Object, Optional ByRef AutoText As Object, Optional ByRef OmitReturnAddress As Object, Optional ByRef ReturnAddress As Object, Optional ByRef ReturnAutoText As Object, Optional ByRef PrintBarCode As Object, Optional ByRef PrintFIMA As Object, Optional ByRef Size As Object, Optional ByRef Height As Object, Optional ByRef Width As Object, Optional ByRef FeedSource As Object, Optional ByRef AddressFromLeft As Object, Optional ByRef AddressFromTop As Object, Optional ByRef ReturnAddressFromLeft As Object, Optional ByRef ReturnAddressFromTop As Object, Optional ByRef DefaultFaceUp As Object, Optional ByRef DefaultOrientation As Object, Optional ByRef PrintEPostage As Object, Optional ByRef Vertical As Object, Optional ByRef RecipientNamefromLeft As Object, Optional ByRef RecipientNamefromTop As Object, Optional ByRef RecipientPostalfromLeft As Object, Optional ByRef RecipientPostalfromTop As Object, Optional ByRef SenderNamefromLeft As Object, Optional ByRef SenderNamefromTop As Object, Optional ByRef SenderPostalfromLeft As Object, Optional ByRef SenderPostalfromTop As Object)
Parameters
- ExtractAddress
- Object
Optional Object. True to use the text marked by the "EnvelopeAddress" bookmark (a user-defined bookmark) as the recipient's address.
- Address
- Object
Optional Object. A string that specifies the recipient's address (ignored if ExtractAddress
is True).
- AutoText
- Object
Optional Object. The name of the AutoText entry that includes a recipient's address.
- OmitReturnAddress
- Object
Optional Object. True to omit the return address.
- ReturnAddress
- Object
Optional Object. A string that specifies the return address.
- ReturnAutoText
- Object
Optional Object. The name of the AutoText entry that includes a return address.
- PrintBarCode
- Object
Optional Object. True to add a POSTNET bar code. For U.S. mail only.
- PrintFIMA
- 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
- 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
- Object
Optional Object. The height of the envelope (in points) when the Size
argument is set to "Custom size."
- Width
- Object
Optional Object. The width of the envelope (in points) when the Size
argument is set to "Custom size."
- FeedSource
- 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
- Object
Optional Object. The distance (in points) between the left edge of the envelope and the recipient's address.
- AddressFromTop
- Object
Optional Object. The distance (in points) between the top edge of the envelope and the recipient's address.
- ReturnAddressFromLeft
- Object
Optional Object. The distance (in points) between the left edge of the envelope and the return address.
- ReturnAddressFromTop
- Object
Optional Object. The distance (in points) between the top edge of the envelope and the return address.
- DefaultFaceUp
- Object
Optional Object. True to print the envelope face up; False to print it face down.
- DefaultOrientation
- Object
Optional Object. The orientation of the envelope. Can be any WdEnvelopeOrientation constant.
- PrintEPostage
- Object
Optional Object. True to print postage using an Internet e-postage vendor.
- Vertical
- Object
Optional Object. True prints text vertically on the envelope. Used for Asian-language envelopes.
- RecipientNamefromLeft
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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.