iText 5

VerticalText

VerticalText Public class

Diagram

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

Members

Properties

Public properties

Type

Name

Methods

int

Alignment

get, set

float

Height

get, set

float

Leading

get, set

int

MaxLines

get, set

float

OriginX

get

float

OriginY

get

Methods

Public methods

Returns

Name

void

AddText

(...)

int

Go

(...)

void

SetOrigin

(float startX, float startY)

void

SetVerticalLayout

(float startX, float startY, float height, int maxLines, float leading)

Protected methods

Returns

Name

PdfLine

CreateLine

(float width)

void

ShortenChunkArray

()

Internal methods

Returns

Name

void

WriteLine

(

PdfLine

line,

PdfContentByte

text,

PdfContentByte

graphics)

Details

Constructors

VerticalText

Source code

public VerticalText(PdfContentByte text)

Arguments

Type

Name

Description

PdfContentByte

text

Methods

AddText [1/2]

Source code

public virtual void AddText(Phrase phrase)

Arguments

Type

Name

Description

Phrase

phrase

AddText [2/2]

Source code

public virtual void AddText(Chunk chunk)

Arguments

Type

Name

Description

Chunk

chunk

SetVerticalLayout

Source code

public virtual void SetVerticalLayout(float startX, float startY, float height, int maxLines, float leading)

Arguments

Type

Name

Description

float

startX

float

startY

float

height

int

maxLines

float

leading

CreateLine

Source code

protected virtual PdfLine CreateLine(float width)

Arguments

Type

Name

Description

float

width

ShortenChunkArray

Source code

protected virtual void ShortenChunkArray()

Go [1/2]

Source code

public virtual int Go()

Go [2/2]

Source code

public virtual int Go(bool simulate)

Arguments

Type

Name

Description

bool

simulate

WriteLine

Source code

internal void WriteLine(PdfLine line, PdfContentByte text, PdfContentByte graphics)

Arguments

Type

Name

Description

PdfLine

line

PdfContentByte

text

PdfContentByte

graphics

SetOrigin

Source code

public virtual void SetOrigin(float startX, float startY)

Arguments

Type

Name

Description

float

startX

float

startY

Properties

Leading

public virtual float Leading { get; set; }

OriginX

public virtual float OriginX { get; }

OriginY

public virtual float OriginY { get; }

MaxLines

public virtual int MaxLines { get; set; }

Height

public virtual float Height { get; set; }

Alignment

public virtual int Alignment { get; set; }

Generated with ModularDoc