Table of Contents

Method Size

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

Size(PageSize)

Sets the page size.

IPageComposer Size(PageSize size)

Parameters

size PageSize

The size, from PageSizes or constructed.

Returns

IPageComposer

This composer, for chaining.

Size(double, double, Unit)

Sets the page size explicitly.

IPageComposer Size(double width, double height, Unit unit = Unit.Point)

Parameters

width double

The page width.

height double

The page height.

unit Unit

The unit the dimensions are expressed in.

Returns

IPageComposer

This composer, for chaining.

Exceptions

ArgumentOutOfRangeException

A dimension is not a positive finite number.