Table of Contents

Class AreaBreak

Namespace
iText.Layout.Element
Assembly
itext.layout.dll

A layout object that terminates the current content area and creates a new one.

public class AreaBreak : AbstractElement<AreaBreak>, IAbstractElement, IElement, IPropertyContainer
Inheritance
AreaBreak
Implements
Inherited Members

Remarks

A layout object that terminates the current content area and creates a new one. If no PageSize is given, the new content area will have the same size as the current one.

Constructors

AreaBreak()

Creates an AreaBreak.

public AreaBreak()

Remarks

Creates an AreaBreak. The new content area will have the same size as the current one.

AreaBreak(AreaBreakType?)

Creates an AreaBreak that terminates a specified area type.

public AreaBreak(AreaBreakType? areaBreakType)

Parameters

areaBreakType AreaBreakType?

an area break type

AreaBreak(PageSize)

Creates an AreaBreak.

public AreaBreak(PageSize pageSize)

Parameters

pageSize PageSize

the size of the new content area

Remarks

Creates an AreaBreak. The new content area will have the specified page size.

Fields

pageSize

protected PageSize pageSize

Field Value

PageSize

Methods

GetAreaType()

Gets the type of area that this AreaBreak will terminate.

public virtual AreaBreakType? GetAreaType()

Returns

AreaBreakType?

the current area break type

GetPageSize()

Gets the page size.

public virtual PageSize GetPageSize()

Returns

PageSize

the page size of the next content area.

MakeNewRenderer()

protected override IRenderer MakeNewRenderer()

Returns

IRenderer

SetPageSize(PageSize)

Sets the page size.

public virtual void SetPageSize(PageSize pageSize)

Parameters

pageSize PageSize

the new page size of the next content area.