Skip to content

Commit 9c75ecb

Browse files
committed
906190: UGDocumentation
1 parent 9943334 commit 9c75ecb

File tree

19 files changed

+77
-82
lines changed

19 files changed

+77
-82
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Getting started
2+
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.4.
4+
5+
## Development server
6+
7+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
8+
9+
## Code scaffolding
10+
11+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12+
13+
## Build
14+
15+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
16+
17+
## Running unit tests
18+
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20+
21+
## Running end-to-end tests
22+
23+
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
24+
25+
## Further help
26+
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

How to/Customize Print Quality/angular.json renamed to How to/Customization Print Quality/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@
9696
}
9797
},
9898
"cli": {
99-
"analytics": "1ae3d0d1-c71a-4661-b93c-819a70da741e"
99+
"analytics": "8d9c65e2-01c9-4a66-bc68-685c535cc647"
100100
}
101101
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
import { Component, OnInit } from '@angular/core';
2+
import {
3+
LinkAnnotationService,
4+
BookmarkViewService,
5+
MagnificationService,
6+
ThumbnailViewService,
7+
ToolbarService,
8+
NavigationService,
9+
AnnotationService,
10+
TextSearchService,
11+
TextSelectionService,
12+
FormFieldsService,
13+
FormDesignerService,
14+
PrintService
15+
} from '@syncfusion/ej2-angular-pdfviewer';
16+
17+
@Component({
18+
selector: 'app-root',
19+
// specifies the template string for the PDF Viewer component
20+
template: `<div class="content-wrapper">
21+
<ejs-pdfviewer id="pdfViewer"
22+
[documentPath]='document'
23+
[resourceUrl]='resource'
24+
[printScaleFactor]='printScaleFactor'
25+
style="height:640px;display:block">
26+
</ejs-pdfviewer>
27+
</div>`,
28+
providers: [
29+
LinkAnnotationService,
30+
BookmarkViewService,
31+
MagnificationService,
32+
ThumbnailViewService,
33+
ToolbarService,
34+
NavigationService,
35+
AnnotationService,
36+
TextSearchService,
37+
TextSelectionService,
38+
FormFieldsService,
39+
FormDesignerService,
40+
PrintService]
41+
})
42+
export class AppComponent implements OnInit {
43+
public document = 'https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf';
44+
public resource: string = 'https://cdn.syncfusion.com/ej2/27.1.48/dist/ej2-pdfviewer-lib';
45+
public printScaleFactor = 0.5;
46+
ngOnInit(): void {
47+
}
48+
49+
}

How to/Customize Print Quality/src/index.html renamed to How to/Customization Print Quality/src/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<link rel="icon" type="image/x-icon" href="favicon.ico">
99
</head>
1010
<body>
11-
<br><br><br>
1211
<app-root></app-root>
1312
</body>
1413
</html>

How to/Customize Print Quality/src/app/app.component.ts

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)