Skip to main content
Skip table of contents

PdfChunk

PdfChunk Public class

Diagram

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

Members

Properties

Internal properties
TypeNameMethods
BaseColorColorget
stringEncodingget
PdfFontFontget
ImageImageget
floatImageHeightget
floatImageOffsetXget, set
floatImageOffsetYget, set
floatImageWidthget
intLengthget
intLengthUtf32get
TabStopTabStopget, set
stringValueset
Public properties
TypeNameMethods
boolChangeLeadingget
floatImageScalePercentageget, set
floatLeadingget
floatTextRiseget

Methods

Public methods
ReturnsName
intGetUnicodeEquivalent(int c)
floatGetWidthCorrected(float charSpacing, float wordSpacing)
boolIsNewlineSplit()
stringToString()
floatTrimFirstSpace()
floatTrimLastSpace()
Protected methods
ReturnsName
intGetWord(string text, int start)
Internal methods
ReturnsName
voidAdjustLeft(float newValue)
objectGetAttribute(string name)
floatGetCharWidth(int c)
floatHeight()
boolIsAttribute(string name)
boolIsExtSplitCharacter(int start, int current, int end, char``[] cc, PdfChunk[] ck)
boolIsHorizontalSeparator()
boolIsImage()
boolIsSeparator()
boolIsSpecialEncoding()
boolIsStroked()
boolIsTab()
PdfChunkSplit(float width)
stringTrim(string str)
PdfChunkTruncate(float width)
floatWidth(...)
Internal Static methods
ReturnsName
TabStopGetTabStop(PdfChunk tab, float tabPosition)
Public Static methods
ReturnsName
boolNoPrint(int c)

Details

Constructors

PdfChunk [1/3]

Source code

internal PdfChunk(string str, PdfChunk other)
Arguments
TypeNameDescription
stringstr
PdfChunkother
PdfChunk [2/3]

Source code

internal PdfChunk(Chunk chunk, PdfAction action)
Arguments
TypeNameDescription
Chunkchunk
PdfActionaction
PdfChunk [3/3]

Source code

internal PdfChunk(Chunk chunk, PdfAction action, TabSettings tabSettings)
Arguments
TypeNameDescription
Chunkchunk
PdfActionaction
TabSettingstabSettings

Methods

GetUnicodeEquivalent

Source code

public virtual int GetUnicodeEquivalent(int c)
Arguments
TypeNameDescription
intc
GetWord

Source code

protected virtual int GetWord(string text, int start)
Arguments
TypeNameDescription
stringtext
intstart
Split

Source code

internal PdfChunk Split(float width)
Arguments
TypeNameDescription
floatwidth
Truncate

Source code

internal PdfChunk Truncate(float width)
Arguments
TypeNameDescription
floatwidth
Width [1/2]

Source code

internal float Width()
Width [2/2]

Source code

internal float Width(string str)
Arguments
TypeNameDescription
stringstr
Height

Source code

internal float Height()
IsNewlineSplit

Source code

public virtual bool IsNewlineSplit()
GetWidthCorrected

Source code

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

Source code

public virtual float TrimLastSpace()
TrimFirstSpace

Source code

public virtual float TrimFirstSpace()
GetAttribute

Source code

internal object GetAttribute(string name)
Arguments
TypeNameDescription
stringname
IsAttribute

Source code

internal bool IsAttribute(string name)
Arguments
TypeNameDescription
stringname
IsStroked

Source code

internal bool IsStroked()
IsSeparator

Source code

internal bool IsSeparator()
IsHorizontalSeparator

Source code

internal bool IsHorizontalSeparator()
IsTab

Source code

internal bool IsTab()
AdjustLeft

Source code

internal void AdjustLeft(float newValue)
Arguments
TypeNameDescription
floatnewValue
GetTabStop

Source code

internal static TabStop GetTabStop(PdfChunk tab, float tabPosition)
Arguments
TypeNameDescription
PdfChunktab
floattabPosition
IsImage

Source code

internal bool IsImage()
ToString

Source code

public override string ToString()
IsSpecialEncoding

Source code

internal bool IsSpecialEncoding()
IsExtSplitCharacter

Source code

internal bool IsExtSplitCharacter(int start, int current, int end, char[] cc, PdfChunk[] ck)
Arguments
TypeNameDescription
intstart
intcurrent
intend
char``[]cc
PdfChunk[]ck
Trim

Source code

internal string Trim(string str)
Arguments
TypeNameDescription
stringstr
GetCharWidth

Source code

internal float GetCharWidth(int c)
Arguments
TypeNameDescription
intc
NoPrint

Source code

public static bool NoPrint(int c)
Arguments
TypeNameDescription
intc

Properties

Font
internal PdfFont Font { get; }
Color
internal BaseColor Color { get; }
TextRise
public virtual float TextRise { get; }
TabStop
internal TabStop TabStop { get; set; }
Image
internal Image Image { get; }
ImageHeight
internal float ImageHeight { get; }
ImageWidth
internal float ImageWidth { get; }
ImageScalePercentage
public virtual float ImageScalePercentage { get; set; }
ImageOffsetX
internal float ImageOffsetX { get; set; }
ImageOffsetY
internal float ImageOffsetY { get; set; }
Value
internal string Value { set; }
Encoding
internal string Encoding { get; }
Length
internal int Length { get; }
LengthUtf32
internal int LengthUtf32 { get; }
ChangeLeading
public virtual bool ChangeLeading { get; }
Leading
public virtual float Leading { 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.