iText 5

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

Type

Name

Methods

float

Ascender

get

float

Descender

get

int

LastStrokeChunk

get

float

ListIndent

get

ListItem

ListItem

get, set

Chunk

ListSymbol

get

bool

NewlineSplit

get

float

OriginalWidth

get

int

Size

get

Internal properties

Type

Name

Methods

float

Height

get

float

IndentLeft

get

int

NumberOfSpaces

get

bool

RTL

get

float

WidthLeft

get

Methods

Internal methods

Returns

Name

PdfChunk

Add

(...)

float``[]

GetMaxSize

(float fixedLeading, float multipliedLeading)

int

GetSeparatorCount

()

void

SetExtraIndent

(float extra)

Public methods

Returns

Name

void

Flush

()

PdfChunk

GetChunk

(int idx)

IEnumerator<

PdfChunk

>

GetEnumerator

()

int

GetLineLengthUtf32

()

float

GetWidthCorrected

(float charSpacing, float wordSpacing)

bool

HasToBeJustified

()

void

ResetAlignment

()

string

ToString

()

Details

Constructors

PdfLine [1/2]

Source code

internal PdfLine(float left, float right, int alignment, float height)

Arguments

Type

Name

Description

float

left

float

right

int

alignment

float

height

PdfLine [2/2]

Source code

internal PdfLine(float left, float originalWidth, float remainingWidth, int alignment, bool newlineSplit, List<PdfChunk> line, bool isRTL)

Arguments

Type

Name

Description

float

left

float

originalWidth

float

remainingWidth

int

alignment

bool

newlineSplit

List<

PdfChunk

>

line

bool

isRTL

Methods

Add [1/2]

Source code

internal PdfChunk Add(PdfChunk chunk, float currentLeading)

Arguments

Type

Name

Description

PdfChunk

chunk

float

currentLeading

Add [2/2]

Source code

internal PdfChunk Add(PdfChunk chunk)

Arguments

Type

Name

Description

PdfChunk

chunk

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

Type

Name

Description

float

extra

ToString

Source code

public override string ToString()

GetLineLengthUtf32

Source code

public virtual int GetLineLengthUtf32()

GetChunk

Source code

public virtual PdfChunk GetChunk(int idx)

Arguments

Type

Name

Description

int

idx

GetMaxSize

Source code

internal float GetMaxSize(float fixedLeading, float multipliedLeading)

Arguments

Type

Name

Description

float

fixedLeading

float

multipliedLeading

GetSeparatorCount

Source code

internal int GetSeparatorCount()

GetWidthCorrected

Source code

public virtual float GetWidthCorrected(float charSpacing, float wordSpacing)

Arguments

Type

Name

Description

float

charSpacing

float

wordSpacing

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