Skip to content

Latest commit

 

History

History
 
 

DrawText

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Draw text

This sample shows how to draw text on a canvas.

To draw text on a canvas, use PdfCanvas.DrawString or PdfCanvas.DrawText method. These methods draw text using current canvas font.

DrawString method draws a single line of text from the current text position (take a look at PdfCanvas.TextPosition property) or inscribed in specified rectangle. DrawText method allows to draw multiple lines of text.