cpdf-source/html_manual/dotnetsplits/c18.tex

21 lines
625 B
TeX
Raw Normal View History

2022-03-13 16:06:36 +01:00
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.