Core PDF functions

Core PDF functions

NameDescription
newCreate a new PDF-document.
openOpen a PDF-document with filename.
saveSave the previously opened PDF-document.
save_asSave the previously opened PDF-document with new filename.
set_licenseSet license with filename.
extract_textReturn the PDF-document contents as plain text.
word_countReturn word count in PDF-document.
character_countReturn character count in PDF-document.
appendAppend pages from another PDF-document.
append_pagesAppend selected pages from another PDF-document.
merge_documentsCreate a new PDF-document by merging the provided PDF-documents.
split_documentCreate multiple new PDF-documents by extracting pages from the source PDF-document.
splitCreate multiple new PDF-documents by extracting pages from the current PDF-document.
split_at_pageSplit the PDF-document into two new PDF-documents.
split_atSplit the current PDF-document into two new PDF-documents.
bytesReturn the contents of the PDF-document as a byte vector.
page_addAdd new page in PDF-document.
page_insertInsert new page at the specified position in PDF-document.
page_deleteDelete specified page in PDF-document.
page_countReturn the number of pages in the PDF-document.
page_word_countReturn word count on specified page in PDF-document.
page_character_countReturn character count on specified page in PDF-document.
page_is_blankReturn page is blank in PDF-document.

Detailed Description

Core functions for working with PDF files.