cpdf-source/docsplits/pysplits/c00.tex

16 lines
709 B
TeX
Raw Normal View History

2021-09-26 17:24:19 +02:00
"""Pycpdflib: a python interface to cpdf.
2021-07-26 20:50:33 +02:00
2021-08-10 14:40:37 +02:00
Before using the library, you must load the libpycpdf and libcpdf DLLs. This is
2021-09-26 17:24:19 +02:00
achieved with the pycpdflib.loadDLL function, given the filename or full path
of the libpycpdf DLL. On Windows, you may have to call os.add_dll_directory
2021-08-10 14:40:37 +02:00
first. On MacOS, you may need to give the full path, and you may need to
install libcpdf.so in a standard location /usr/local/lib/, or use the
install_name_tool command to tell libpycpdf.so where to find libcpdf.so.
A 'range' is a list of integers specifying page numbers.
2022-01-23 16:08:18 +01:00
Text arguments and results are in UTF8. Data is of type bytes.
2021-08-10 14:40:37 +02:00
Any function may raise the exception CPDFError, carrying a string describing
2021-09-01 19:41:10 +02:00
the error. """