优化 PDF 文件,缩小所有图像,减少 PDF 大小,取消嵌入字体,使用 Python 删除未使用的对象。...pdf as ap # 打开文档 document = ap . Document ( input_pdf...import aspose.pdf as ap # 打开文档 document = ap . Document ( input_pdf...
Learn how to search, inspect, and extract text from PDF documents in Python.... Load the PDF file using ‘ap.Document’. Configure Text Extraction...import shutil import aspose.pdf as ap import aspose.pydrawing as drawing...
Este tópico sobre anotações adesivas, como exemplo mostramos a Anotação de Marca d'água no texto....pdf as ap document = ap . Document ( input_file...wa = ap . annotations . WatermarkAnnotation ( page , ap . Rectangle...
Узнайте, как обновить внешний вид и назначения ссылок PDF в Python....pdf as ap import sys from os import path...infile , outfile ): document = ap . Document ( infile ) link_annotations...
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"...
Добавьте кнопки отправки и действия отправки в PDF AcroForms, используя Aspose.PDF for Python via .NET....pdf as ap def add_submit_button ( input_file_name...output_file_name ): editor = ap . facades . FormEditor ( input_file_name...
Узнайте, как добавлять, блокировать, извлекать, уплощать и объединять слои PDF в Python....pdf as ap def add_layers ( outfile : str...str ) -> None : document = ap . Document () page = document ....