The C# .NET Client Examples project uses the DynamicPDF API C# client library (dotnet-client
) to create, merge, split, form fill, stamp, obtain metadata, convert, and secure/encrypt PDF documents. This project contains numerous sample projects for the tutorials and examples on https://dpdf.io.
The DynamicPDF API consists of the following endpoints.
dlex-layout
image-info
pdf
pdf-info
pdf-text
pdf-xmp
The C# client library (dotnet-client
) is available on Github (dotnet-client). For more information, please visit DynamicPDF API. Support for other languages/platforms (PHP, C#, Node.js) is available on GitHub (DynamicPDF API at GitHub).
- The DynamicPDF.API library is available on NuGet.
Install-Package DynamicPDF.API
To obtain the resources for the project, login to https://dpdf.io (assuming you have an account), and go to the File Manager. You use the samples
folder to add the resources for some of the examples from this project. Local resources are in the Resources folder in the DynamicPdfClientLibraryExamples project.
For more information on the tutorials and example code, refer to:
To run all examples at once, go to the DynamicPdfClientLibraryExamples project, and run this project.
To run all the examples at once you must change the flag runAll
to true
, otherwise manually run the example you wish to run.
You need the following samples folder in your Cloud Storage space to run all the examples.
- samples/creating-a-page-template-designer/
- samples/report-with-cover-page/
- samples/creating-a-report-template-designer
- samples/creating-a-page-template-designer
- samples/creating-pdf-pdf-endpoint/
- samples/creating-pdf-dlex-layout-endpoint/
- samples/fill-acro-form-pdf-endpoint/
- samples/getting-started/
- samples/merge-pdfs-pdf-endpoint/
The resources folder contains all the local resources and saves all results to DynamicPdfClientLibraryExamples/Output which is created when run.
The following table lists the available tutorials.
Tutorial Title | Project/File/Class | Tutorial Location |
---|---|---|
Merging PDFs | MergePdfs | https://dpdf.io/docs/tutorials/cloud-api/merging-pdfs |
Completing an AcroForm | CompletingAcroForm |
https://dpdf.io/docs/tutorials/cloud-api/form-completion |
Creating a PDF Using a DLEX and the pdf Endpoint |
CreatingPdfDlex |
https://dpdf.io/docs/tutorials/cloud-api/dlex-pdf-endpoint |
Adding Bookmarks to a PDF | AddBookmarks |
https://dpdf.io/docs/tutorials/cloud-api/bookmarks |
Creating a PDF Using the dlex-layout Endpoint |
CreatingPdfDlexLayout |
https://dpdf.io/docs/tutorials/cloud-api/dlex-layout |
Extracting Image Metadata | GetImageInfo |
https://dpdf.io/docs/tutorials/cloud-api/image-info |
Extract PDF Metadata | GetPdfInfo |
https://dpdf.io/docs/tutorials/cloud-api/pdf-info |
Extracting PDF's Text | ExtractingText |
https://dpdf.io/docs/tutorials/cloud-api/pdf-text |
Extract XMP Metadata | GetXmpMetaData |
https://dpdf.io/docs/tutorials/cloud-api/pdf-xmp |
The primary source for the DynamicPDF API support is through Stack Overflow. Please use the "dynamicpdf-api" tag to ask questions. Our support team actively monitors the tag and responds promptly to any questions. Also, let us know you asked the question by following up with an email to support@dynamicpdf.com.
Pro Plan Subscribers#
Ticket support is available to Pro Plan subscribers. But we still encourage you to help the community by posting on Stack Overflow when possible. You can also email support@dynamicpdf.com if you need to ask something specific to your use case that may not help the DynamicPDF API community.
The dotnet-client-examples
library is licensed under the MIT License.