Table of Contents

Class EnvelopeLayout

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

An envelope's size and where its addresses go, as Word's Envelope Options take them (Phase 170). Integer twips; a null position is Word's automatic one (the delivery address centred at the bottom, the return address at the margin's top left).

public sealed class EnvelopeLayout
Inheritance
EnvelopeLayout
Inherited Members

Constructors

EnvelopeLayout(int, int, int?, int?, int?, int?)

Initializes a layout.

Fields

MaxSide

The largest side, in twips (22 inches, Word's own limit).

Properties

AddressFromLeft

Gets the delivery address's distance from the page's left, or null for Word's automatic place.

AddressFromTop

Gets the delivery address's distance from the page's top, or null for Word's automatic place.

Height

Gets the envelope's height.

ReturnFromLeft

Gets the return address's distance from the page's left, or null for Word's automatic place.

ReturnFromTop

Gets the return address's distance from the page's top, or null for Word's automatic place.

Sizes

Gets Word's envelope sizes by name, in its order (Size 10 first), as page sizes in twips.

Width

Gets the envelope's width.

Methods

Named(string)

The layout of one of Word's named sizes (Sizes), with Word's automatic positions.