Table of Contents

Class ColumnsComposer

Namespace
Rustaveli.Pdf
Assembly
Rustaveli.Pdf.dll

Adds the items of a row set side by side, each in a frame of its own, in the order they read.

public sealed class ColumnsComposer
Inheritance
ColumnsComposer
Inherited Members

Remarks

An item is as wide as it is told to be (Fixed(float)), as wide as its content (Natural()), or a share of whatever width those leave (Share(float)). Items that run on to another page keep their place in the row there.

Methods

Fixed(float)

Adds an item exactly width points wide.

public IFrame Fixed(float width)

Parameters

width float

Returns

IFrame

Gutter(float)

Sets the room left between two neighbouring items, in points; none unless set.

public void Gutter(float value)

Parameters

value float

Natural()

Adds an item as wide as its content needs, and no wider than the row has room for.

public IFrame Natural()

Returns

IFrame

Share(float)

Adds an item taking a share of the width left once fixed and natural items have theirs, in proportion to its weight among the items that share. A weight of zero takes none.

public IFrame Share(float weight = 1)

Parameters

weight float

Returns

IFrame