Modifying form in your PDF file with Aspose.PDF for Python via .NET library. You can add or remove fields in existing form, get and set field limit and etc....pdf as ap from aspose.pycore import cast...dataDir + outfile document = ap . Document ( path_infile ) #...
Aspose.PDF for Python 라이브러리의 TextStamp 클래스를 사용하여 PDF 문서에 텍스트 스탬프를 추가합니다....pdf as ap # 문서 열기 document = ap . Document ( input_pdf...input_pdf ) # 텍스트 스탬프 생성 text_stamp = ap . TextStamp ( "Sample Stamp"...
本文描述了在 Aspose.PDF 中处理文本的各个方面。了解如何向 PDF 添加文本、添加 HTML 片段或使用自定义 OTF 字体。...pdf as ap # 打开文档 document = ap . Document ( input_pdf...1 ] # 创建文本片段 text_fragment = ap . text . TextFragment ( "main...
Aspose.PDF for Python 라이브러리의 ImageStamp 클래스를 사용하여 PDF 문서에 이미지 스탬프를 추가합니다....pdf as ap # 문서 열기 document = ap . Document ( input_pdf...) # 이미지 스탬프 생성 image_stamp = ap . ImageStamp ( input_image_file...
Aspose.PDF for Python via .NET은 PDF 테이블을 생성, 읽기 및 편집하는 데 사용되는 라이브러리입니다. 이 주제의 다른 고급 기능을 확인하세요.... table = ap . Table () 기존 PDF 문서에 테이블 추가하기...import aspose.pdf as ap # 소스 PDF 문서 불러오기 doc = ap . Document ( input_file...
本主题向您展示如何使用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...
Aspose.PDF for Python via .NET allows you to add headers and footers to your PDF file using TextStamp class....pdf as ap # Global configuration DATA_DIR...Create header text header_text = ap . text . TextFragment ( "Demo...
This topic shows you how to convert PDF file to other file formats like EPUB, LaTeX, Text, XPS etc using Python....pdf as ap path_infile = path . join ( self...document = ap . Document ( path_infile ) save_options = ap . EpubSaveOptions...