cpdf-source/javasplits/c18.tex
John Whitington 51012bf58e more
2022-04-03 16:48:26 +02:00

21 lines
625 B
TeX

CHAPTER 17. Creating New PDFs
Cpdf.blankDocument(Double, Double, Int32)
Creates a blank document with pages of the given width (in points), height (in
points), and number of pages.
Cpdf.blankDocumentPaper(Cpdf.Papersize, Int32)
Makes a blank document given a page size and number of pages.
Cpdf.textToPDF(Double, Double, Cpdf.Font, Double, String)
Typesets a UTF8 text file ragged right on a page of size w * h in points in the
given font and font size.
Cpdf.textToPDFPaper(Cpdf.Papersize, Cpdf.Font, Double, String)
Typesets a UTF8 text file ragged right on a page of the given size in the given
font and font size.