Modifica

Condividi tramite


Envelope.Insert Method

Definition

Inserts an envelope as a separate section at the beginning of the specified document.

public void Insert (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 Insert : 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 Insert (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. A string that specifies an AutoText entry to use for the address. If specified, Address is ignored.

OmitReturnAddress
Object

Optional Object. True to not insert a return address.

ReturnAddress
Object

Optional Object. A string that specifies the return address.

ReturnAutoText
Object

Optional Object. A string that specifies an AutoText entry to use for the return address. If specified, ReturnAddress is ignored.

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 (FIMA) 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 must match one of the sizes listed in the Envelope size box in the Envelope Options dialog box (for example, "Size 10" or "C4").

Height
Object

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

Width
Object

Optional Object. The width of the envelope, measured 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, measured in points, between the left edge of the envelope and the recipient's address.

AddressFromTop
Object

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

ReturnAddressFromLeft
Object

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

ReturnAddressFromTop
Object

Optional Object. The distance, measured 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 for the envelope. Can be any WdEnvelopeOrientation constant.

PrintEPostage
Object

Optional Object. True to insert postage from an Internet postage vendor.

Vertical
Object

Optional Object. True to print vertical text on the envelope. Used for Asian envelopes. Default is False.

RecipientNamefromLeft
Object

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

RecipientNamefromTop
Object

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

RecipientPostalfromLeft
Object

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

RecipientPostalfromTop
Object

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

SenderNamefromLeft
Object

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

SenderNamefromTop
Object

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

SenderPostalfromLeft
Object

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

SenderPostalfromTop
Object

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

Applies to