Skip to content

Latest commit

 

History

History

PdfBuilder Reference Manual

__construct - constructor

acceptPageBreak - accept or not automatic page break

addFont - add a new font

addLink - create an internal link

addPage - add a new page

aliasNbPages - define an alias for number of pages

cell - print a cell

close - terminate the document

error - fatal error

footer - page footer

getPageHeight - get current page height

getPageWidth - get current page width

getStringWidth - compute string length

getX - get current x position

getY - get current y position

header - page header

image - output an image

line - draw a line

link - put a link

ln - line break

multiCell - print text with line breaks

output - save or send the document

pageNo - page number

rect - draw a rectangle

setAuthor - set the document author

setAutoPageBreak - set the automatic page breaking mode

setCompression - turn compression on or off

setCreator - set document creator

setDisplayMode - set display mode

setDrawColor - set drawing color

setFillColor - set filling color

setFont - set font

setFontSize - set font size

setKeywords - associate keywords with document

setLeftMargin - set left margin

setLineWidth - set line width

setLink - set internal link destination

setMargins - set margins

setRightMargin - set right margin

setSubject - set document subject

setTextColor - set text color

setTitle - set document title

setTopMargin - set top margin

setX - set current x position

setXY - set current x and y positions

setY - set current y position and optionally reset x

text - print a string

write - print flowing text