你可以使用 Python 向 PDF 文档添加书签。可以从 PDF 文档中删除所有或特定书签。...pdf as ap # 打开文档 document = ap . Document ( input_pdf...input_pdf ) # 创建书签对象 outline = ap . OutlineItemCollectio ( document...
Learn how to optimize PDF documents in Python for improved web performance and reduced file size using Aspose.PDF....pdf as ap path_infile = path . join ( self...aspose.pdf as ap # Open document document = ap . Document ( input_pdf...
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...
이 주제는 Aspose.PDF for Python을 사용하여 PDF를 TIFF, BMP, EMF, JPEG, PNG, GIF, SVG와 같은 다양한 이미지 형식으로 몇 줄의 코드로 변환하는 방법을 보여줍니다....pdf as ap input_pdf = DIR_INPUT + "sample...tiff" # PDF 문서 열기 document = ap . Document ( input_pdf ) # 해상도...