Class EnvelopeDocument
An envelope as Word builds it (Phase 170): Mailings > Envelopes (the addresses on it) and Start Mail Merge > Envelopes (the delivery address left empty for the fields), from an EnvelopeLayout.
public static class EnvelopeDocument
- Inheritance
-
EnvelopeDocument
- Inherited Members
Remarks
Measured against Word (tools/Probe-WordEnvelopes.ps1): one landscape section of the envelope's size, margins
360 / 720 / 720 / 576, page numbers from 0; the return address in Word's Envelope Return style, its frame at the
margin's top left, and the delivery address in Envelope Address, its frame centred at the page's bottom; each
paragraph states only wrap auto on its own frame and takes the rest from its style. A position the caller
gives becomes the style's frame, page-anchored one twip beyond it, as Word writes it.
Methods
- Create(EnvelopeLayout, IReadOnlyList<string>?, IReadOnlyList<string>?)
Creates an envelope: the delivery address a paragraph per line (none, or empty: a merge envelope, one empty line for the fields), and the return address above it (none: no return address).