[]
Represents a collection of Text objects.
public class TextCollection : ContentObjectCollection<Text>, IContentList<Text>, IReadOnlyList<Text>, IReadOnlyCollection<Text>, IEnumerable<Text>, IEnumerable
public Text Add(string value)
value
stringThe text value to add.
public Break AddBreak()
public Break AddBreak(BreakType type, BreakClear clear)
type
BreakTypeThe break type.
clear
BreakClearThe location that shall be used as the next available line when the type
has a value of TextWrapping.
public Break AddBreak(BreakType type)
type
BreakTypeThe break type.
Adds a LastRenderedPageBreak to this collection at the End location.
public LastRenderedPageBreak AddLastRenderedPageBreak()
The added LastRenderedPageBreak.
public Symbol AddSymbol(char character, string fontName)
character
charThe symbol character.
fontName
stringThe character font name.
public Tab AddTab()
public Tab AddTab(TabAlignment alignment, TabLeader leader, TabRelativeTo relativeTo)
alignment
TabAlignmentThe tab alignment.
leader
TabLeaderThe tab leader character.
relativeTo
TabRelativeToThe extent to calculate the position of the tab.
public Tab AddTab(TabAlignment alignment, TabLeader leader)
alignment
TabAlignmentThe tab alignment.
leader
TabLeaderThe tab leader character.
public Tab AddTab(TabAlignment alignment)
alignment
TabAlignmentThe tab alignment.
Inserts a Text into this collection at a specified location.
public Text Insert(string value, InsertLocation location)
value
stringThe text value to insert.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Break into this collection at a specified location.
public Break InsertBreak(BreakType type, BreakClear clear, InsertLocation location)
type
BreakTypeThe break type.
clear
BreakClearThe location that shall be used as the next available line when the type
has a value of TextWrapping.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Break into this collection at a specified location.
public Break InsertBreak(BreakType type, InsertLocation location)
type
BreakTypeThe break type.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a line Break into this collection at a specified location.
public Break InsertBreak(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a LastRenderedPageBreak into this collection at a specified location.
public LastRenderedPageBreak InsertLastRenderedPageBreak(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
The inserted LastRenderedPageBreak.
Inserts a Symbol into this collection at a specified location.
public Symbol InsertSymbol(char character, string fontName, InsertLocation location)
character
charThe symbol character.
fontName
stringThe character font name.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Tab into this collection at a specified location.
public Tab InsertTab(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Tab into this collection at a specified location.
public Tab InsertTab(TabAlignment alignment, InsertLocation location)
alignment
TabAlignmentThe tab alignment.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Tab into this collection at a specified location.
public Tab InsertTab(TabAlignment alignment, TabLeader leader, InsertLocation location)
alignment
TabAlignmentThe tab alignment.
leader
TabLeaderThe tab leader character.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Tab into this collection at a specified location.
public Tab InsertTab(TabAlignment alignment, TabLeader leader, TabRelativeTo relativeTo, InsertLocation location)
alignment
TabAlignmentThe tab alignment.
leader
TabLeaderThe tab leader character.
relativeTo
TabRelativeToThe extent to calculate the position of the tab.
location
InsertLocationThe target InsertLocation for the insertion.