Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

837858 : commented line added for the documentPath property #2

Merged
merged 1 commit into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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