Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 411 Bytes

File metadata and controls

6 lines (4 loc) · 411 Bytes

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.