Skip to main content
Skip table of contents

PdfLine

PdfLine Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.PdfLine[[PdfLine]]
  end

Members

Properties

Public properties
TypeNameMethods
floatAscenderget
floatDescenderget
intLastStrokeChunkget
floatListIndentget
ListItemListItemget, set
ChunkListSymbolget
boolNewlineSplitget
floatOriginalWidthget
intSizeget
Internal properties
TypeNameMethods
floatHeightget
floatIndentLeftget
intNumberOfSpacesget
boolRTLget
floatWidthLeftget

Methods

Internal methods
ReturnsName
PdfChunkAdd(...)
float``[]GetMaxSize(float fixedLeading, float multipliedLeading)
intGetSeparatorCount()
voidSetExtraIndent(float extra)
Public methods
ReturnsName
voidFlush()
PdfChunkGetChunk(int idx)
IEnumerator<PdfChunk>GetEnumerator()
intGetLineLengthUtf32()
floatGetWidthCorrected(float charSpacing, float wordSpacing)
boolHasToBeJustified()
voidResetAlignment()
stringToString()

Details

Constructors

PdfLine [1/2]

Source code

internal PdfLine(float left, float right, int alignment, float height)
Arguments
TypeNameDescription
floatleft
floatright
intalignment
floatheight
PdfLine [2/2]

Source code

internal PdfLine(float left, float originalWidth, float remainingWidth, int alignment, bool newlineSplit, List<PdfChunk> line, bool isRTL)
Arguments
TypeNameDescription
floatleft
floatoriginalWidth
floatremainingWidth
intalignment
boolnewlineSplit
List<PdfChunk>line
boolisRTL

Methods

Add [1/2]

Source code

internal PdfChunk Add(PdfChunk chunk, float currentLeading)
Arguments
TypeNameDescription
PdfChunkchunk
floatcurrentLeading
Add [2/2]

Source code

internal PdfChunk Add(PdfChunk chunk)
Arguments
TypeNameDescription
PdfChunkchunk
GetEnumerator

Source code

public virtual IEnumerator<PdfChunk> GetEnumerator()
HasToBeJustified

Source code

public virtual bool HasToBeJustified()
ResetAlignment

Source code

public virtual void ResetAlignment()
SetExtraIndent

Source code

internal void SetExtraIndent(float extra)
Arguments
TypeNameDescription
floatextra
ToString

Source code

public override string ToString()
GetLineLengthUtf32

Source code

public virtual int GetLineLengthUtf32()
GetChunk

Source code

public virtual PdfChunk GetChunk(int idx)
Arguments
TypeNameDescription
intidx
GetMaxSize

Source code

internal float GetMaxSize(float fixedLeading, float multipliedLeading)
Arguments
TypeNameDescription
floatfixedLeading
floatmultipliedLeading
GetSeparatorCount

Source code

internal int GetSeparatorCount()
GetWidthCorrected

Source code

public virtual float GetWidthCorrected(float charSpacing, float wordSpacing)
Arguments
TypeNameDescription
floatcharSpacing
floatwordSpacing
Flush

Source code

public virtual void Flush()

Properties

Size
public virtual int Size { get; }
Height
internal float Height { get; }
IndentLeft
internal float IndentLeft { get; }
WidthLeft
internal float WidthLeft { get; }
NumberOfSpaces
internal int NumberOfSpaces { get; }
ListItem
public virtual ListItem ListItem { get; set; }
ListSymbol
public virtual Chunk ListSymbol { get; }
ListIndent
public virtual float ListIndent { get; }
NewlineSplit
public virtual bool NewlineSplit { get; }
LastStrokeChunk
public virtual int LastStrokeChunk { get; }
OriginalWidth
public virtual float OriginalWidth { get; }
RTL
internal bool RTL { get; }
Ascender
public virtual float Ascender { get; }
Descender
public virtual float Descender { get; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.