Table of Contents

Interface IDrawInterface

Namespace
iTextSharp.text.pdf.draw
Assembly
iTextSharp.LGPLv2.Core.dll

Interface for an Element that allows you to draw something at the current vertical position. Trivial implementations are LineSeparator and VerticalPositionMark. It is also used to define what has to be drawn by a separator chunk. @since 2.1.2

public interface IDrawInterface

Methods

Draw(PdfContentByte, float, float, float, float, float)

Implement this method if you want to draw something at the current Y position (for instance a line).

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

Parameters

canvas PdfContentByte

the canvas on which you can draw

llx float

the x coordinate of the left page margin

lly float

the y coordinate of the bottom page margin

urx float

the x coordinate of the right page margin

ury float

the y coordinate of the top page margin

y float

the current y position on the page