This repo contains the examples to open and save PDF documents in Google Drive using the Syncfusion® PDF Viewer.
The provided instructions explain how to run different samples that utilize the Syncfusion® PDF Viewer to open and save PDF documents stored in Google Drive. Here is a breakdown of the steps to run each sample
To run this application, you need Visual Studio 2019 or later versions.
Step 1 Open the solution file (.sln) in Visual Studio.
Step 2 Build the solution to resolve dependencies.
Step 3 To run the sample in debugging mode, press F5 or select Debug > Start Debugging. This will launch the webservice and allow you to debug the application.
Step 4 To run the sample without debugging, press Ctrl+F5 or select Debug > Start Without Debugging. This will start the webservice without attaching the debugger.
To run the AngularClient sample
Step 1 Open a terminal or command prompt.
Step 2 Navigate to the root directory of the AngularClient sample.
Step 3 Run the command npm install
to install the necessary dependencies specified in the package.json file.
npm install
Step 4 Once the installation is complete, run ng serve --open
to start the Angular development server and open the PDF Viewer component in your default browser.
ng serve --open
To run the ReactClient sample
Step 1 Open a terminal or command prompt.
Step 2 Navigate to the root directory of the ReactClient sample.
Step 3 Run the command npm install
to install the necessary dependencies specified in the package.json file.
npm install
Step 4 Once the installation is complete, run npm start
to start the React development server and open the PDF Viewer component in your default browser.
npm start
To run the JavaScriptClient sample
Step 1 Open a terminal or command prompt.
Step 2 Navigate to the root directory of the JavaScriptClient sample.
Step 3 Run the command npm install
to install the necessary dependencies specified in the package.json file.
npm install
Step 4 Once the installation is complete, run npm start
to start the JavaScript development server and open the PDF Viewer component in your default browser.
npm start
To run the VueClient sample
Step 1 Open a terminal or command prompt.
Step 2 Navigate to the root directory of the VueClient sample.
Step 3 Run the command npm install
to install the necessary dependencies specified in the package.json file.
npm install
Step 4 Once the installation is complete, run npm run dev
to start the Vue development server and open the PDF Viewer component in your default browser.
npm run dev
To run the TypeScriptClient sample
Step 1 Open a terminal or command prompt.
Step 2 Navigate to the root directory of the TypeScriptClient sample.
Step 3 Run the command npm install
to install the necessary dependencies specified in the package.json file.
npm install
Step 4 Once the installation is complete, run npm start
to start the TypeScript development server and open the PDF Viewer component in your default browser.
npm start
After following these steps, you should be able to view and interact with PDF documents stored in Google Drive using the Syncfusion® PDF Viewer in the respective client application.