Table of Contents

Constructor LabelLayout

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

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

Initializes a layout.

public LabelLayout(int pageWidth, int pageHeight, int topMargin, int sideMargin, int width, int height, int horizontalPitch, int verticalPitch, int across, int down)

Parameters

pageWidth int

The page's width.

pageHeight int

The page's height.

topMargin int

From the page's top to the first label's.

sideMargin int

From the page's left to the first label's.

width int

A label's width.

height int

A label's height.

horizontalPitch int

From one label's left to the next one's.

verticalPitch int

From one label's top to the next one's.

across int

How many labels across.

down int

How many labels down.

Exceptions

ArgumentOutOfRangeException

A number is not one a sheet can have (a size not positive, a pitch smaller than the label, the labels off the page, too many labels).