C# 클래스 iTextSharp.text.Phrase

A Phrase is a series of Chunks.
A Phrase has a main Font, but some chunks within the phrase can have a Font that differs from the main Font. All the Chunks in a Phrase have the same leading.
상속: System.Collections.ArrayList, ITextElementArray
파일 보기 프로젝트 열기: red-gate/iTextSharp-4.1.6 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
font Font
hyphenation IHyphenationEvent
leading System.Single

공개 메소드들

메소드 설명
Add ( Object o ) : bool

Adds a Chunk, Anchor or another Phrase to this Phrase.

Add ( int index, Object o ) : void

Adds a Chunk, an Anchor or another Phrase to this Phrase.

AddAll ( ICollection collection ) : bool

Adds a collection of Chunks to this Phrase.

AddSpecial ( Object obj ) : void

Adds a Object to the Paragraph.

GetInstance ( String str ) : Phrase
GetInstance ( int leading, String str ) : Phrase
GetInstance ( int leading, String str, Font font ) : Phrase
HasLeading ( ) : bool
IsContent ( ) : bool
IsEmpty ( ) : bool

Checks is this Phrase contains no or 1 empty Chunk.

IsNestable ( ) : bool
IsTag ( string tag ) : bool

Checks if a given tag corresponds with this object.

Phrase ( ) : System

Constructs a Phrase without specifying a leading.

Phrase ( Chunk chunk ) : System

Constructs a Phrase with a certain Chunk.

Phrase ( Phrase phrase ) : System
Phrase ( float leading ) : System

Constructs a Phrase with a certain leading.

Phrase ( float leading, Chunk chunk ) : System

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

Phrase ( float leading, string str ) : System

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

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

Constructs a Phrase with a certain string.

Phrase ( string str, Font font ) : System

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

Process ( IElementListener listener ) : bool

Processes the element by adding it (or the different parts) to an iTextSharp.text.IElementListener.

ToString ( ) : string

보호된 메소드들

메소드 설명
AddChunk ( Chunk chunk ) : bool

Adds a Chunk.

This method is a hack to solve a problem I had with phrases that were split between chunks in the wrong place.

비공개 메소드들

메소드 설명
Phrase ( bool dummy ) : System

메소드 상세

Add() 공개 메소드

Adds a Chunk, Anchor or another Phrase to this Phrase.
public Add ( Object o ) : bool
o Object an object of type Chunk, Anchor or Phrase
리턴 bool

Add() 공개 메소드

Adds a Chunk, an Anchor or another Phrase to this Phrase.
public Add ( int index, Object o ) : void
index int index at which the specified element is to be inserted
o Object an object of type Chunk, Anchor, or Phrase
리턴 void

AddAll() 공개 메소드

Adds a collection of Chunks to this Phrase.
public AddAll ( ICollection collection ) : bool
collection ICollection a collection of Chunks, Anchors and Phrases.
리턴 bool

AddChunk() 보호된 메소드

Adds a Chunk.
This method is a hack to solve a problem I had with phrases that were split between chunks in the wrong place.
protected AddChunk ( Chunk chunk ) : bool
chunk Chunk a Chunk
리턴 bool

AddSpecial() 공개 메소드

Adds a Object to the Paragraph.
public AddSpecial ( Object obj ) : void
obj Object the object to add.
리턴 void

GetInstance() 공개 정적인 메소드

public static GetInstance ( String str ) : Phrase
str String
리턴 Phrase

GetInstance() 공개 정적인 메소드

public static GetInstance ( int leading, String str ) : Phrase
leading int
str String
리턴 Phrase

GetInstance() 공개 정적인 메소드

public static GetInstance ( int leading, String str, Font font ) : Phrase
leading int
str String
font Font
리턴 Phrase

HasLeading() 공개 메소드

public HasLeading ( ) : bool
리턴 bool

IsContent() 공개 메소드

public IsContent ( ) : bool
리턴 bool

IsEmpty() 공개 메소드

Checks is this Phrase contains no or 1 empty Chunk.
public IsEmpty ( ) : bool
리턴 bool

IsNestable() 공개 메소드

public IsNestable ( ) : bool
리턴 bool

IsTag() 공개 정적인 메소드

Checks if a given tag corresponds with this object.
public static IsTag ( string tag ) : bool
tag string the given tag
리턴 bool

Phrase() 공개 메소드

Constructs a Phrase without specifying a leading.
public Phrase ( ) : System
리턴 System

Phrase() 공개 메소드

Constructs a Phrase with a certain Chunk.
public Phrase ( Chunk chunk ) : System
chunk Chunk a Chunk
리턴 System

Phrase() 공개 메소드

public Phrase ( Phrase phrase ) : System
phrase Phrase
리턴 System

Phrase() 공개 메소드

Constructs a Phrase with a certain leading.
public Phrase ( float leading ) : System
leading float the leading
리턴 System

Phrase() 공개 메소드

Constructs a Phrase with a certain Chunk and a certain leading.
public Phrase ( float leading, Chunk chunk ) : System
leading float the leading
chunk Chunk a Chunk
리턴 System

Phrase() 공개 메소드

Constructs a Phrase with a certain leading and a certain string.
public Phrase ( float leading, string str ) : System
leading float the leading
str string a string
리턴 System

Phrase() 공개 메소드

public Phrase ( float leading, string str, Font font ) : System
leading float
str string
font Font
리턴 System

Phrase() 공개 메소드

Constructs a Phrase with a certain string.
public Phrase ( string str ) : System
str string a string
리턴 System

Phrase() 공개 메소드

Constructs a Phrase with a certain string and a certain Font.
public Phrase ( string str, Font font ) : System
str string a string
font Font a Font
리턴 System

Process() 공개 메소드

Processes the element by adding it (or the different parts) to an iTextSharp.text.IElementListener.
public Process ( IElementListener listener ) : bool
listener IElementListener an IElementListener
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

font 보호되어 있는 프로퍼티

This is the font of this phrase.
protected Font,iTextSharp.text font
리턴 Font

hyphenation 보호되어 있는 프로퍼티

protected IHyphenationEvent hyphenation
리턴 IHyphenationEvent

leading 보호되어 있는 프로퍼티

This is the leading of this phrase.
protected Single,System leading
리턴 System.Single