From 669e39f4a9c0f2837192e7a7ee2d88101d00df91 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Wed, 9 Mar 2022 14:11:10 +0100 Subject: [PATCH] more --- dotnetsplits/cm1.tex | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/dotnetsplits/cm1.tex b/dotnetsplits/cm1.tex index c88e42e..805adc2 100644 --- a/dotnetsplits/cm1.tex +++ b/dotnetsplits/cm1.tex @@ -1,2 +1,28 @@ -(INITIAL INSTRUCTIONS) -====================== +CPDF .NET Library +================= + +Before using the library, you must make sure your project or build environment +has access to the cpdf DLL, which is not part of the .NET assembly. You can add +it to a Visual Studio project as a file, set to copy-to-output-folder. Or, you +can install it in a standard location. The DLL must be named as follows, for +.NET to be able to find it: + +Windows: cpdf.dll +MacOS: libcpdf.dylib +Linux: libcpdf.so + +The following documentation is automatically extracted from the XML comments +present in the assembly. You can use Intellisense to view them within Visual +Studio - the documentation here is for completeness. + +A 'range' is a list of integers specifying page numbers. + +Text arguments and results are in UTF8. Data is of type bytes[]. + +Any function may raise the exception CPDFError, carrying a string describing +the error. + +There is no automatic garbage collection of PDFs. Use the Using keyword and/or +the Dispose method on objects of type Cpdf.Pdf to explicitly deallocate PDFs. + +