per page, with , order by , clip by
Results of 1 - 2 of about 2 for canvas (0.001 sec.)
PDFファイルを作成する — Django 6.1 ドキュメント 11228
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PDFファイルを作成する ¶ このドキュメントでは、Django のビューを使用して PDF ファイルを動的に出力する方法を説明します。これは、優れたオープンソースの ... ことです。 ここに、"Hello World"の例を示します: import io from django.http import FileResponse from reportlab.pdfgen import canvas def some_view ( request ): # Create a file-like buffer to receive PDF data. buffer = io . BytesIO () # Create the PDF obje ... ct, using the buffer as its "file." p = canvas . Canvas ( buffer ) # Draw things on the PDF. Here's where the PDF generation happens. # See the ReportLab documentation f ... e パラメータを指定できます。これはブラウザの "名前を付けて保存" ダイアログで使用されます。 ReportLab API にフックできます: canvas.Canvas の第一引数に渡されたバッファと同じバッファを FileResponse クラスに渡すことができます。 後続のPDF生成メソッドはすべて ...
https://man.mtool.work/django/6.1/howto/outputting-pdf.html
PDFファイルを作成する — Django 6.1 ドキュメント 7485
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PDFファイルを作成する ¶ このドキュメントでは、Django のビューを使用して PDF ファイルを動的に出力する方法を説明します。これは、優れたオープンソースの ... ことです。 ここに、"Hello World"の例を示します: import io from django.http import FileResponse from reportlab.pdfgen import canvas def some_view ( request ): # Create a file-like buffer to receive PDF data. buffer = io . BytesIO () # Create the PDF obje ... ct, using the buffer as its "file." p = canvas . Canvas ( buffer ) # Draw things on the PDF. Here's where the PDF generation happens. # See the ReportLab documentation f ... e パラメータを指定できます。これはブラウザの "名前を付けて保存" ダイアログで使用されます。 ReportLab API にフックできます: canvas.Canvas の第一引数に渡されたバッファと同じバッファを FileResponse クラスに渡すことができます。 後続のPDF生成メソッドはすべて ...
https://man.mtool.work/django/6.1/howto/outputting-pdf.html
PREV 1 NEXT