Skip to main content
Skip table of contents

TextChunk

TextChunk Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf.parser.LocationTextExtractionStrategy
  iTextSharp.text.pdf.parser.LocationTextExtractionStrategy.TextChunk[[TextChunk]]
  end
  subgraph System
System.IComparable_1[[IComparable]]
  end
System.IComparable_1 --> iTextSharp.text.pdf.parser.LocationTextExtractionStrategy.TextChunk

Members

Properties

Public properties
TypeNameMethods
floatCharSpaceWidthget
VectorEndLocationget
ITextChunkLocationLocationget
VectorStartLocationget
stringTextget

Methods

Public methods
ReturnsName
intCompareTo(TextChunk other)
floatDistanceFromEndOf(TextChunk other)
voidPrintDiagnostics()
boolSameLine(TextChunk lastChunk)

Details

Inheritance

  • IComparable<TextChunk>

Constructors

TextChunk [1/2]

Source code

public TextChunk(string str, Vector startLocation, Vector endLocation, float charSpaceWidth)
Arguments
TypeNameDescription
stringstr
VectorstartLocation
VectorendLocation
floatcharSpaceWidth
TextChunk [2/2]

Source code

public TextChunk(string str, ITextChunkLocation location)
Arguments
TypeNameDescription
stringstr
ITextChunkLocationlocation

Methods

PrintDiagnostics

Source code

public virtual void PrintDiagnostics()
DistanceFromEndOf

Source code

public virtual float DistanceFromEndOf(TextChunk other)
Arguments
TypeNameDescription
TextChunkother
CompareTo

Source code

public virtual int CompareTo(TextChunk other)
Arguments
TypeNameDescription
TextChunkother
SameLine

Source code

public virtual bool SameLine(TextChunk lastChunk)
Arguments
TypeNameDescription
TextChunklastChunk

Properties

StartLocation
public virtual Vector StartLocation { get; }
EndLocation
public virtual Vector EndLocation { get; }
CharSpaceWidth
public virtual float CharSpaceWidth { get; }
Text
public virtual string Text { get; }
Location
public virtual ITextChunkLocation Location { 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.