Aspose.PDF for Python via .NETを使用すると、画像、テキスト断片、およびテーブルを1つのドキュメントに含むより複雑なドキュメントを作成できます。...pdf as ap # ドキュメントオブジェクトを初期化 document = ap . Document ()...page . add_image ( image_file , ap . Rectangle ( 20 , 730 , 120...
Aspose.PDF pour Python via .NET vous permet d'ajouter des en-têtes et des pieds de page à votre fichier PDF en utilisant la classe TextStamp....pdf as ap # Ouvrir le document document = ap . Document (...Créer un en-tête textStamp = ap . TextStamp ( "Texte de l'en-tête"...
本主题向您展示如何使用Aspose.PDF for Python将PDF转换为多种图像格式,例如TIFF、BMP、EMF、JPEG、PNG、GIF、SVG,只需几行代码。...pdf as ap input_pdf = DIR_INPUT + "sample...document = ap . Document ( input_pdf ) # 创建分辨率对象 resolution = ap . devices...
Узнайте, как оптимизировать, сжимать и уменьшать размер PDF‑файла в Python с помощью Aspose.PDF....pdf as ap from os import path , stat import...infile , outfile ): document = ap . Document ( infile ) document...
Aspose.PDF for Python 라이브러리의 ImageStamp 클래스를 사용하여 PDF 문서에 이미지 스탬프를 추가합니다....pdf as ap # 문서 열기 document = ap . Document ( input_pdf...) # 이미지 스탬프 생성 image_stamp = ap . ImageStamp ( input_image_file...
Learn how to add and delete bookmarks in PDF documents using Python....pdf as ap import sys from os import path...Open PDF document document = ap . Document ( infile ) # Create...
Learn how to open a PDF file in Python Aspose.PDF for Python via .NET library. You can open existing PDF, document from stream, and encrypted PDF document....pdf as ap def open_document_from_file (...): # Open document document = ap . Document ( infile ) print (...
Pelajari cara membuka file PDF di Python Aspose.PDF untuk pustaka Python via .NET. Anda dapat membuka PDF yang sudah ada, dokumen dari stream, dan dokumen PDF terenkripsi....pdf as ap # Buka dokumen document = ap . Document ( input_pdf...dari stream import aspose.pdf as ap input_pdf = DIR_INPUT + "sample...