Jython da Excel den Pdf e Dönüştürme
Contents
[
Hide
]
Aspose.Cells - Excel’den Pdf’e Dönüştürme
Aspose.Cells Java for Jython ile belgeler eklemek için. Burada örnek kodu görebilirsiniz.
Jython Kodu
from aspose-cells import Settings
from com.aspose.cells import Workbook
from com.aspose.cells import SaveFormat
class Excel2PdfConversion:
def __init__(self):
dataDir = Settings.dataDir + 'WorkingWithFiles/Excel2PdfConversion/'
saveFormat = SaveFormat
workbook = Workbook(dataDir + "Book1.xls")
#Save the document in PDF format
workbook.save(dataDir + "OutBook1.pdf", saveFormat.PDF)
# Print message
print "\n Excel to PDF conversion performed successfully."
if __name__ == '__main__':
Excel2PdfConversion()
Çalışan Kodu İndir
Aşağıda belirtilen sosyal kodlama sitelerinden Append Documents (Aspose.Cells) indirin: