Skip to content

Commit

Permalink
Merge pull request #2 from SyncfusionExamples/837858-samples
Browse files Browse the repository at this point in the history
837858  : commented line added for the documentPath property
  • Loading branch information
rparthi-pdf authored Aug 7, 2023
2 parents 87e2b7d + e73b85b commit da45aed
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion AngularClient/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ import { LinkAnnotationService, BookmarkViewService, MagnificationService,
TextSelectionService, PrintService, FormDesignerService, FormFieldsService]
})
export class AppComponent implements OnInit {
// Replace the "localhost:44309" with the actual URL of your server
// Replace the "localhost:44396" with the actual URL of your server
public service = 'https://localhost:44396/pdfviewer';
//Replace `PDF_Succinctly.pdf` with the actual document name that you want to load from google drive folder.
public document = 'PDF_Succinctly.pdf';

ngOnInit(): void {
Expand Down
6 changes: 4 additions & 2 deletions JavaScriptClient/src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PdfViewer.Inject( Toolbar, Magnification, Navigation, Annotation, LinkAnnotation
BookmarkView, TextSelection, TextSearch, FormFields, FormDesigner);

let pdfviewer: PdfViewer = new PdfViewer();
// Replace the "localhost:44396" with the actual URL of your server
pdfviewer.serviceUrl = 'https://localhost:44396/pdfviewer';
pdfviewer.appendTo('#PdfViewer');
pdfviewer.load('PDF_Succinctly.pdf', null);
//Replace `PDF_Succinctly.pdf` with the actual document name that you want to load from google drive folder.
pdfviewer.documentPath = 'PDF_Succinctly.pdf';
pdfviewer.appendTo('#PdfViewer');
1 change: 1 addition & 0 deletions ReactClient/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ return (<div>
<div className='control-section'>
<PdfViewerComponent
id="container"
//Replace `PDF_Succinctly.pdf` with the actual document name that you want to load from google drive folder.
documentPath="PDF_Succinctly.pdf"
// Replace the "localhost:44396" with the actual URL of your server
serviceUrl="https://localhost:44396/pdfviewer"
Expand Down
6 changes: 4 additions & 2 deletions TypeScriptClient/src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PdfViewer.Inject( Toolbar, Magnification, Navigation, Annotation, LinkAnnotation
BookmarkView, TextSelection, TextSearch, FormFields, FormDesigner);

let pdfviewer: PdfViewer = new PdfViewer();
// Replace the "localhost:44396" with the actual URL of your server
pdfviewer.serviceUrl = 'https://localhost:44396/pdfviewer';
pdfviewer.appendTo('#PdfViewer');
pdfviewer.load('PDF_Succinctly.pdf', null);
//Replace `PDF_Succinctly.pdf` with the actual document name that you want to load from google drive folder
pdfviewer.documentPath = 'PDF_Succinctly.pdf';
pdfviewer.appendTo('#PdfViewer');
1 change: 1 addition & 0 deletions VuejsClient/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
return {
// Replace the "localhost:44396" with the actual URL of your server
serviceUrl: "https://localhost:44396/pdfviewer",
//Replace `PDF_Succinctly.pdf` with the actual document name that you want to load from google drive folder
documentPath: "PDF_Succinctly.pdf"
};
},
Expand Down

0 comments on commit da45aed

Please sign in to comment.