diff --git a/src/pages/overview/legacy-documentation/pdf-extract-api/howtos/extract-api.md b/src/pages/overview/legacy-documentation/pdf-extract-api/howtos/extract-api.md index b73a51b3f..656fa0191 100644 --- a/src/pages/overview/legacy-documentation/pdf-extract-api/howtos/extract-api.md +++ b/src/pages/overview/legacy-documentation/pdf-extract-api/howtos/extract-api.md @@ -1144,7 +1144,7 @@ try { #Build ExtractPDF options and set them into the operation extract_pdf_options: ExtractPDFOptions = ExtractPDFOptions.builder() \ .with_elements_to_extract([ExtractElementType.TEXT, ExtractElementType.TABLES]) \ - .with_elements_to_extract_renditions(ExtractRenditionsElementType.TABLES,ExtractRenditionsElementType.FIGURES]) \ + .with_element_to_extract_renditions(ExtractRenditionsElementType.TABLES,ExtractRenditionsElementType.FIGURES]) \ .build() extract_pdf_operation.set_options(extract_pdf_options)