C# Class iTextSharp.text.Paragraph

A Paragraph is a series of Chunks and/or Phrases.
A Paragraph has the same qualities of a Phrase, but also some additional layout-parameters:
  • the indentation
  • the alignment of the text
Inheritance: Phrase, IIndentable, ISpaceable, IAccessibleElement
Show file Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Protected Properties

Property Type Description
alignment int
indentationLeft float
indentationRight float
keeptogether bool
multipliedLeading float
spacingAfter float
spacingBefore float

Public Methods

Method Description
Add ( IElement o ) : bool

Adds an Object to the Paragraph.

Paragraph ( ) : System

Constructs a Paragraph.

Paragraph ( Chunk chunk ) : System

Constructs a Paragraph with a certain Chunk.

Paragraph ( Phrase phrase ) : System

Constructs a Paragraph with a certain Phrase.

Paragraph ( float leading ) : System

Constructs a Paragraph with a certain leading.

Paragraph ( float leading, Chunk chunk ) : System

Constructs a Paragraph with a certain Chunk and a certain leading.

Paragraph ( float leading, string str ) : System

Constructs a Paragraph with a certain string and a certain leading.

Paragraph ( float leading, string str, Font font ) : System

Constructs a Paragraph with a certain leading, string and Font.

Paragraph ( string str ) : System

Constructs a Paragraph with a certain string.

Paragraph ( string str, Font font ) : System

Constructs a Paragraph with a certain string and a certain Font.

SetLeading ( float fixedLeading, float multipliedLeading ) : void
breakUp ( ) : IList
cloneShallow ( bool spacingBefore ) : Paragraph

Method Details

Add() public method

Adds an Object to the Paragraph.
public Add ( IElement o ) : bool
o IElement the object to add
return bool

Paragraph() public method

Constructs a Paragraph.
public Paragraph ( ) : System
return System

Paragraph() public method

Constructs a Paragraph with a certain Chunk.
public Paragraph ( Chunk chunk ) : System
chunk Chunk a Chunk
return System

Paragraph() public method

Constructs a Paragraph with a certain Phrase.
public Paragraph ( Phrase phrase ) : System
phrase Phrase a Phrase
return System

Paragraph() public method

Constructs a Paragraph with a certain leading.
public Paragraph ( float leading ) : System
leading float the leading
return System

Paragraph() public method

Constructs a Paragraph with a certain Chunk and a certain leading.
public Paragraph ( float leading, Chunk chunk ) : System
leading float the leading
chunk Chunk a Chunk
return System

Paragraph() public method

Constructs a Paragraph with a certain string and a certain leading.
public Paragraph ( float leading, string str ) : System
leading float the leading
str string a string
return System

Paragraph() public method

Constructs a Paragraph with a certain leading, string and Font.
public Paragraph ( float leading, string str, Font font ) : System
leading float the leading
str string a string
font Font a Font
return System

Paragraph() public method

Constructs a Paragraph with a certain string.
public Paragraph ( string str ) : System
str string a string
return System

Paragraph() public method

Constructs a Paragraph with a certain string and a certain Font.
public Paragraph ( string str, Font font ) : System
str string a string
font Font a Font
return System

SetLeading() public method

public SetLeading ( float fixedLeading, float multipliedLeading ) : void
fixedLeading float
multipliedLeading float
return void

breakUp() public method

public breakUp ( ) : IList
return IList

cloneShallow() public method

public cloneShallow ( bool spacingBefore ) : Paragraph
spacingBefore bool
return Paragraph

Property Details

alignment protected property

The alignment of the text.
protected int alignment
return int

indentationLeft protected property

The indentation of this paragraph on the left side.
protected float indentationLeft
return float

indentationRight protected property

The indentation of this paragraph on the right side.
protected float indentationRight
return float

keeptogether protected property

Does the paragraph has to be kept together on 1 page.
protected bool keeptogether
return bool

multipliedLeading protected property

protected float multipliedLeading
return float

spacingAfter protected property

protected float spacingAfter
return float

spacingBefore protected property

protected float spacingBefore
return float