ColumnText Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.ColumnText[[ColumnText]]
end
Members
Properties
Public properties
Type | Name | Methods |
---|
bool | AdjustFirstLine | get, set |
int | Alignment | get, set |
int | ArabicOptions | get, set |
PdfContentByte | Canvas | get, set |
PdfContentByte [] | Canvases | get, set |
IList <IElement > | CompositeElements | get |
float | CurrentLeading | get |
float | Descender | get |
float | ExtraParagraphSpace | get, set |
float | FilledWidth | get, set |
float | FollowingIndent | get, set |
bool | IgnoreSpacingBefore | get, set |
float | Indent | get, set |
bool | InheritGraphicState | get, set |
float | LastX | get |
float | Leading | get, set |
int | LinesWritten | get |
float | MultipliedLeading | get |
float | RightIndent | get, set |
int | RowsDrawn | get |
int | RunDirection | get, set |
float | SpaceCharRatio | get, set |
bool | UseAscender | get, set |
float | YLine | get, set |
Methods
Public Static methods
Public methods
Protected internal methods
Protected methods
Details
Constructors
ColumnText
Source code
public ColumnText(PdfContentByte canvas)
Arguments
Methods
Duplicate
Source code
public static ColumnText Duplicate(ColumnText org)
Arguments
SetACopy
Source code
public virtual ColumnText SetACopy(ColumnText org)
Arguments
SetSimpleVars
Source code
protected internal virtual void SetSimpleVars(ColumnText org)
Arguments
AddText [1/2]
Source code
public virtual void AddText(Phrase phrase)
Arguments
Type | Name | Description |
---|
Phrase | phrase | |
SetText
Source code
public virtual void SetText(Phrase phrase)
Arguments
Type | Name | Description |
---|
Phrase | phrase | |
AddText [2/2]
Source code
public virtual void AddText(Chunk chunk)
Arguments
Type | Name | Description |
---|
Chunk | chunk | |
AddElement
Source code
public virtual void AddElement(IElement element)
Arguments
isAllowedElement
Source code
public static bool isAllowedElement(IElement element)
Arguments
ConvertColumn
Source code
protected virtual List<float> ConvertColumn(float[] cLine)
Arguments
Type | Name | Description |
---|
float``[] | cLine | |
FindLimitsPoint
Source code
protected virtual float FindLimitsPoint(List<float[]> wall)
Arguments
Type | Name | Description |
---|
List <float``[] > | wall | |
FindLimitsOneLine
Source code
protected virtual float FindLimitsOneLine()
FindLimitsTwoLines
Source code
protected virtual float FindLimitsTwoLines()
SetColumns
Source code
public virtual void SetColumns(float[] leftLine, float[] rightLine)
Arguments
Type | Name | Description |
---|
float``[] | leftLine | |
float``[] | rightLine | |
SetSimpleColumn [1/4]
Source code
public virtual void SetSimpleColumn(Phrase phrase, float llx, float lly, float urx, float ury, float leading, int alignment)
Arguments
Type | Name | Description |
---|
Phrase | phrase | |
float | llx | |
float | lly | |
float | urx | |
float | ury | |
float | leading | |
int | alignment | |
SetSimpleColumn [2/4]
Source code
public virtual void SetSimpleColumn(float llx, float lly, float urx, float ury, float leading, int alignment)
Arguments
Type | Name | Description |
---|
float | llx | |
float | lly | |
float | urx | |
float | ury | |
float | leading | |
int | alignment | |
SetSimpleColumn [3/4]
Source code
public virtual void SetSimpleColumn(float llx, float lly, float urx, float ury)
Arguments
Type | Name | Description |
---|
float | llx | |
float | lly | |
float | urx | |
float | ury | |
SetSimpleColumn [4/4]
Source code
public virtual void SetSimpleColumn(Rectangle rect)
Arguments
SetLeading
Source code
public virtual void SetLeading(float fixedLeading, float multipliedLeading)
Arguments
Type | Name | Description |
---|
float | fixedLeading | |
float | multipliedLeading | |
SetIndent
Source code
public virtual void SetIndent(float indent, bool repeatFirstLineIndent)
Arguments
Type | Name | Description |
---|
float | indent | |
bool | repeatFirstLineIndent | |
Go [1/3]
Source code
public virtual int Go()
Go [2/3]
Source code
public virtual int Go(bool simulate)
Arguments
Type | Name | Description |
---|
bool | simulate | |
Go [3/3]
Source code
public virtual int Go(bool simulate, IElement elementToGo)
Arguments
Type | Name | Description |
---|
bool | simulate | |
IElement | elementToGo | |
IsWordSplit
Source code
public virtual bool IsWordSplit()
ClearChunks
Source code
public virtual void ClearChunks()
GetWidth [1/2]
Source code
public static float GetWidth(Phrase phrase, int runDirection, int arabicOptions)
Arguments
Type | Name | Description |
---|
Phrase | phrase | |
int | runDirection | |
int | arabicOptions | |
GetWidth [2/2]
Source code
public static float GetWidth(Phrase phrase)
Arguments
Type | Name | Description |
---|
Phrase | phrase | |
ShowTextAligned [1/2]
Source code
public static void ShowTextAligned(PdfContentByte canvas, int alignment, Phrase phrase, float x, float y, float rotation, int runDirection, int arabicOptions)
Arguments
Type | Name | Description |
---|
PdfContentByte | canvas | |
int | alignment | |
Phrase | phrase | |
float | x | |
float | y | |
float | rotation | |
int | runDirection | |
int | arabicOptions | |
ShowTextAligned [2/2]
Source code
public static void ShowTextAligned(PdfContentByte canvas, int alignment, Phrase phrase, float x, float y, float rotation)
Arguments
FitText
Source code
public static float FitText(Font font, string text, Rectangle rect, float maxFontSize, int runDirection)
Arguments
Type | Name | Description |
---|
Font | font | |
string | text | |
Rectangle | rect | |
float | maxFontSize | |
int | runDirection | |
GoComposite
Source code
protected virtual int GoComposite(bool simulate)
Arguments
Type | Name | Description |
---|
bool | simulate | |
ZeroHeightElement
Source code
public virtual bool ZeroHeightElement()
HasMoreText
Source code
public static bool HasMoreText(int status)
Arguments
Type | Name | Description |
---|
int | status | |
UpdateFilledWidth
Source code
public virtual void UpdateFilledWidth(float w)
Arguments
Type | Name | Description |
---|
float | w | |
Properties
Leading
public virtual float Leading { get; set; }
MultipliedLeading
public virtual float MultipliedLeading { get; }
YLine
public virtual float YLine { get; set; }
RowsDrawn
public virtual int RowsDrawn { get; }
Alignment
public virtual int Alignment { get; set; }
Indent
public virtual float Indent { get; set; }
FollowingIndent
public virtual float FollowingIndent { get; set; }
RightIndent
public virtual float RightIndent { get; set; }
CurrentLeading
public virtual float CurrentLeading { get; }
InheritGraphicState
public virtual bool InheritGraphicState { get; set; }
IgnoreSpacingBefore
public virtual bool IgnoreSpacingBefore { get; set; }
ExtraParagraphSpace
public virtual float ExtraParagraphSpace { get; set; }
SpaceCharRatio
public virtual float SpaceCharRatio { get; set; }
RunDirection
public virtual int RunDirection { get; set; }
LinesWritten
public virtual int LinesWritten { get; }
LastX
public virtual float LastX { get; }
ArabicOptions
public virtual int ArabicOptions { get; set; }
Descender
public virtual float Descender { get; }
Canvas
public virtual PdfContentByte Canvas { get; set; }
Canvases
public virtual PdfContentByte Canvases { get; set; }
CompositeElements
public virtual IList<IElement> CompositeElements { get; }
UseAscender
public virtual bool UseAscender { get; set; }
FilledWidth
public virtual float FilledWidth { get; set; }
AdjustFirstLine
public virtual bool AdjustFirstLine { get; set; }
Generated with ModularDoc