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
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
( |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
Protected methods
|
Returns |
Name |
|---|---|
|
|
( |
Internal methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
( |
|
|
( |
|
|
() |
|
|
( |
|
|
(
|
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
Internal Static methods
|
Returns |
Name |
|---|---|
|
|
(
tab, |
Public Static methods
|
Returns |
Name |
|---|---|
|
|
( |
Details
Constructors
PdfChunk [1/3]
Source code
internal PdfChunk(string str, PdfChunk other)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
str |
|
|
|
other |
PdfChunk [2/3]
Source code
internal PdfChunk(Chunk chunk, PdfAction action)
Arguments
PdfChunk [3/3]
Source code
internal PdfChunk(Chunk chunk, PdfAction action, TabSettings tabSettings)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chunk |
|
|
|
action |
|
|
|
tabSettings |
Methods
GetUnicodeEquivalent
Source code
public virtual int GetUnicodeEquivalent(int c)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
GetWord
Source code
protected virtual int GetWord(string text, int start)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
text |
|
|
|
start |
Split
Source code
internal PdfChunk Split(float width)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
width |
Truncate
Source code
internal PdfChunk Truncate(float width)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
width |
Width [1/2]
Source code
internal float Width()
Width [2/2]
Source code
internal float Width(string str)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
str |
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
|
Type |
Name |
Description |
|---|---|---|
|
|
charSpacing |
|
|
|
wordSpacing |
TrimLastSpace
Source code
public virtual float TrimLastSpace()
TrimFirstSpace
Source code
public virtual float TrimFirstSpace()
GetAttribute
Source code
internal object GetAttribute(string name)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
IsAttribute
Source code
internal bool IsAttribute(string name)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
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
|
Type |
Name |
Description |
|---|---|---|
|
|
newValue |
GetTabStop
Source code
internal static TabStop GetTabStop(PdfChunk tab, float tabPosition)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
tab |
|
|
|
tabPosition |
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
|
Type |
Name |
Description |
|---|---|---|
|
|
start |
|
|
|
current |
|
|
|
end |
|
|
|
cc |
|
|
|
ck |
Trim
Source code
internal string Trim(string str)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
str |
GetCharWidth
Source code
internal float GetCharWidth(int c)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
NoPrint
Source code
public static bool NoPrint(int c)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
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