

Net Java curl -location -request POST '' \ Result.save_as(base_path + "/output/extractPdf.zip") # Save the result to the specified location. Result: FileRef = extract_pdf_operation.execute(execution_context) with_elements_to_extract_renditions() \Įxtract_pdf_t_options(extract_pdf_options) # Build ExtractPDF options and set them into the operationĮxtract_pdf_options: ExtractPDFOptions = ExtractPDFOptions.builder() \ Source = FileRef.create_from_local_file(base_path + "/resources/extractPdfInput.pdf") #Create an ExecutionContext using credentials and create a new operation instance.Įxecution_context = ExecutionContext.create(credentials)Įxtract_pdf_operation = ExtractPDFOperation.create_new() Save the result at the specified location addElementsToExtractRenditions(Arrays.asList(PDFElementType.TABLES, PDFElementType.FIGURES))ĮtOptions(extractPDFOptions) įileRef result = extractPDFOperation.execute(executionContext)

addElementsToExtract(Arrays.asList(PDFElementType.TEXT, PDFElementType.TABLES)) Build ExtractPDF options and set them into the operationĮxtractPDFOptions extractPDFOptions = ExtractPDFOptions.extractPdfOptionsBuilder() Set operation input from a source fileįileRef source = FileRef.createFromLocalFile("src/test/resources/extractPdfInput.pdf") ĮtInputFile(source) Create an ExecutionContext using credentials and create a new operation instanceĮxecutionContext executionContext = ExecutionContext.create(credentials) ĮxtractPDFOperation extractPDFOperation = ExtractPDFOperation.createNew()
#Adobe pdf toolkit code#
Net Java Python ** REST API code here for Extract **
