iText 5

LineSeparator

LineSeparator Public class

Diagram

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

Members

Properties

Public properties

Type

Name

Methods

int

Alignment

get, set

BaseColor

LineColor

get, set

float

LineWidth

get, set

float

Percentage

get, set

Methods

Public methods

Returns

Name

void

Draw

(

PdfContentByte

canvas, float llx, float lly, float urx, float ury, float y)

void

DrawLine

(

PdfContentByte

canvas, float leftX, float rightX, float y)

Details

Inheritance

Constructors

LineSeparator [1/3]

Source code

public LineSeparator(float lineWidth, float percentage, BaseColor lineColor, int align, float offset)

Arguments

Type

Name

Description

float

lineWidth

float

percentage

BaseColor

lineColor

int

align

float

offset

LineSeparator [2/3]

Source code

public LineSeparator(Font font)

Arguments

Type

Name

Description

Font

font

LineSeparator [3/3]

Source code

public LineSeparator()

Methods

Draw

Source code

public override void Draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y)

Arguments

Type

Name

Description

PdfContentByte

canvas

float

llx

float

lly

float

urx

float

ury

float

y

DrawLine

Source code

public virtual void DrawLine(PdfContentByte canvas, float leftX, float rightX, float y)

Arguments

Type

Name

Description

PdfContentByte

canvas

float

leftX

float

rightX

float

y

Properties

LineWidth

public virtual float LineWidth { get; set; }

Percentage

public virtual float Percentage { get; set; }

LineColor

public virtual BaseColor LineColor { get; set; }

Alignment

public virtual int Alignment { get; set; }

Generated with ModularDoc