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 |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Public Static methods
|
Returns |
Name |
|---|---|
|
|
(
org) |
|
|
(
font,
rect, |
|
|
( |
|
|
( |
|
|
( |
|
|
(
element) |
Public methods
|
Returns |
Name |
|---|---|
|
|
(
element) |
|
|
( |
|
|
() |
|
|
( |
|
|
() |
|
|
(
org) |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
(
phrase) |
|
|
( |
|
|
() |
Protected internal methods
|
Returns |
Name |
|---|---|
|
|
(
org) |
Protected methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
() |
|
|
( |
|
|
() |
|
|
( |
Details
Constructors
ColumnText
Source code
public ColumnText(PdfContentByte canvas)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
canvas |
Methods
Duplicate
Source code
public static ColumnText Duplicate(ColumnText org)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
org |
SetACopy
Source code
public virtual ColumnText SetACopy(ColumnText org)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
org |
SetSimpleVars
Source code
protected internal virtual void SetSimpleVars(ColumnText org)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
org |
AddText [1/2]
Source code
public virtual void AddText(Phrase phrase)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
phrase |
SetText
Source code
public virtual void SetText(Phrase phrase)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
phrase |
AddText [2/2]
Source code
public virtual void AddText(Chunk chunk)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chunk |
AddElement
Source code
public virtual void AddElement(IElement element)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
element |
isAllowedElement
Source code
public static bool isAllowedElement(IElement element)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
element |
ConvertColumn
Source code
protected virtual List<float> ConvertColumn(float[] cLine)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
cLine |
FindLimitsPoint
Source code
protected virtual float FindLimitsPoint(List<float[]> wall)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
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 |
|---|---|---|
|
|
leftLine |
|
|
|
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 |
|
|
|
llx |
|
|
|
lly |
|
|
|
urx |
|
|
|
ury |
|
|
|
leading |
|
|
|
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 |
|---|---|---|
|
|
llx |
|
|
|
lly |
|
|
|
urx |
|
|
|
ury |
|
|
|
leading |
|
|
|
alignment |
SetSimpleColumn [3/4]
Source code
public virtual void SetSimpleColumn(float llx, float lly, float urx, float ury)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
|
|
|
lly |
|
|
|
urx |
|
|
|
ury |
SetSimpleColumn [4/4]
Source code
public virtual void SetSimpleColumn(Rectangle rect)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
rect |
SetLeading
Source code
public virtual void SetLeading(float fixedLeading, float multipliedLeading)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
fixedLeading |
|
|
|
multipliedLeading |
SetIndent
Source code
public virtual void SetIndent(float indent, bool repeatFirstLineIndent)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
indent |
|
|
|
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 |
|---|---|---|
|
|
simulate |
Go [3/3]
Source code
public virtual int Go(bool simulate, IElement elementToGo)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
simulate |
|
|
|
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 |
|
|
|
runDirection |
|
|
|
arabicOptions |
GetWidth [2/2]
Source code
public static float GetWidth(Phrase phrase)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
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 |
|---|---|---|
|
|
canvas |
|
|
|
alignment |
|
|
|
phrase |
|
|
|
x |
|
|
|
y |
|
|
|
rotation |
|
|
|
runDirection |
|
|
|
arabicOptions |
ShowTextAligned [2/2]
Source code
public static void ShowTextAligned(PdfContentByte canvas, int alignment, Phrase phrase, float x, float y, float rotation)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
canvas |
|
|
|
alignment |
|
|
|
phrase |
|
|
|
x |
|
|
|
y |
|
|
|
rotation |
FitText
Source code
public static float FitText(Font font, string text, Rectangle rect, float maxFontSize, int runDirection)
Arguments
GoComposite
Source code
protected virtual int GoComposite(bool simulate)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
simulate |
ZeroHeightElement
Source code
public virtual bool ZeroHeightElement()
HasMoreText
Source code
public static bool HasMoreText(int status)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
status |
UpdateFilledWidth
Source code
public virtual void UpdateFilledWidth(float w)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
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