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