When connected to a server running GcPdf (using the SupportApi property, see below), GcDocs PDF Viewer allows you to edit PDF documents by using the general editing options, annotations and form editor tools. To configure GcDocs PDF Viewer for editing PDF documents, you need to download SupportAPI to connect to GrapeCity Documents for PDF (GcPdf) on server, which enables the PDF editing operations and saves PDF documents on client. The GcDocs PDF Viewer works with server-side API, that is, GcPdf via SupportApi property to save the modified changes and sends the PDF back to the client. There are two ways to fetch SupportAPI:
The GrapeCity.Documents.Pdf.ViewerSupportApi package can be downloaded from NuGet and is also included in nupkg folder of the GcPdf distribution zip along with other packages. You need add the package in your project references.
The SupportApi controller can be used by downloading and unzipping the GcPDF distribution file. It contains a GcPdfViewerWeb folder which further contains:
To use the SupportAPI from sources, instead of including GrapeCity.Documents.Pdf.ViewerSupportApi NuGet package as explained in the steps above, you need to copy and include SupportApi project to the application solution and then add its reference to your main project. Note that, name of the SupportApi projects is different for ASP.NET Core and ASP.NET WebForms:
For more information, refer Edit PDF in GcDocs PDF Viewer demos.