Table of Contents

Class LabelLayout

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

A label's geometry, as Word's Label Options take it (Phase 168): the page, where the first label starts, a label's size, the distance from one label to the next across and down, and how many there are. Integer twips.

public sealed class LabelLayout
Inheritance
LabelLayout
Inherited Members

Remarks

Word's label products (Avery 5160 and the rest) are Word's and its vendors' catalog, resolved per locale; DocWright ships none, so the caller gives the numbers a product's sheet states.

Constructors

LabelLayout(int, int, int, int, int, int, int, int, int, int)

Initializes a layout.

Fields

MaxAcross

The most labels across a sheet.

MaxDown

The most labels down a sheet.

MaxPageSide

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

Properties

Across

Gets how many labels there are across.

Down

Gets how many labels there are down.

Height

Gets a label's height.

HorizontalPitch

Gets the distance from one label's left to the next one's.

PageHeight

Gets the page's height.

PageWidth

Gets the page's width.

SideMargin

Gets the distance from the page's left to the first label's.

TopMargin

Gets the distance from the page's top to the first label's.

VerticalPitch

Gets the distance from one label's top to the next one's.

Width

Gets a label's width.