Table of Contents

Class LayoutArea

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

Represents the area for content layouting.

public class LayoutArea
Inheritance
LayoutArea
Derived
Inherited Members

Constructors

LayoutArea(int, Rectangle)

Creates the area for content layouting.

public LayoutArea(int pageNumber, Rectangle bBox)

Parameters

pageNumber int

the number of page on which the area is located.

bBox Rectangle

the area's bounding box

Fields

bBox

The area's bounding box

protected Rectangle bBox

Field Value

Rectangle

pageNumber

The number of page on which the area is located.

protected int pageNumber

Field Value

int

Methods

Clone()

Creates a "deep copy" of this LayoutArea, meaning the object returned by this method will be independent of the object being cloned.

public virtual LayoutArea Clone()

Returns

LayoutArea

the copied LayoutArea.

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetBBox()

Gets the box which bounds the area.

public virtual Rectangle GetBBox()

Returns

Rectangle

the bounding box

GetHashCode()

public override int GetHashCode()

Returns

int

GetPageNumber()

Gets the number of page on which the area is located.

public virtual int GetPageNumber()

Returns

int

page number

SetBBox(Rectangle)

Sets the box which bounds the area.

public virtual void SetBBox(Rectangle bbox)

Parameters

bbox Rectangle

the area's bounding box

ToString()

public override string ToString()

Returns

string