@@ -51,28 +51,24 @@ From the command line:
51
51
``` bash
52
52
$ npm install asposepdfcloud --save
53
53
```
54
+ ## Get PDF Page Annotations in Node.Js
54
55
55
- ## Usage
56
+ ``` js
57
+ // Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
58
+ const pdfApi = new PdfApi (" MY_CLIENT_ID" , " MY_CLIENT_SECRET" );
56
59
57
- APIs of this SDK can be called as follows:
58
- ``` javascript
59
-
60
- const { PdfApi } = require (" asposepdfcloud" );
61
-
62
- let pdfApi = new PdfApi (AppSid, AppKey);
63
-
64
- let pageNumber = 1 ;
65
- let pdfDocName = " example.pdf" ;
66
- let remoteFolder = " folderName" ;
67
-
68
- pdfApi .getPageAnnotations (pdfDocName, pageNumber, null , remoteFolder)
69
- .then ((result ) => {
70
- console .log (result .response );
71
- console .log (result .body );
72
- });
60
+ let pageNumber = 1 ;
61
+ let pdfDocName = " example.pdf" ;
62
+ let remoteFolder = " folderName" ;
73
63
64
+ pdfApi .getPageAnnotations (pdfDocName, pageNumber, null , remoteFolder)
65
+ .then ((result ) => {
66
+ console .log (result .response );
67
+ console .log (result .body );
68
+ });
74
69
```
75
70
71
+
76
72
## Unit Tests
77
73
Aspose PDF SDK includes a suite of unit tests within the "test" subdirectory. These Unit Tests also serves as examples of how to use the Aspose PDF SDK.
78
74
@@ -735,11 +731,11 @@ Class | Description
735
731
[ ** WrapMode** ] ( docs/WrapMode.md ) | Defines word wrapping strategies
736
732
737
733
738
- ## Aspose.PDF Cloud SDKs in Popular Languages
734
+ ## Aspose.PDF Cloud SDKs in Popular Languages
739
735
740
- | .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift| Go|
741
- | ---| ---| ---| ---| ---| ---| ---| --| --|
742
- | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-dotnet ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-java ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-php ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-ruby ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-node.js ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-android ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-swift ) | [ GitHub ] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-perl ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-go ) |
743
- | [ NuGet] ( https://www.nuget.org/packages/Aspose.pdf-Cloud/ ) | [ Maven] ( https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-pdf-cloud ) | [ Composer] ( https://packagist.org/packages/aspose/pdf-sdk-php ) | [ PIP] ( https://pypi.org/project/asposepdfcloud/ ) | [ GEM] ( https://rubygems.org/gems/aspose_pdf_cloud ) | [ NPM] ( https://www.npmjs.com/package/asposepdfcloud ) | [ Maven] ( https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-pdf-cloud ) | [ Cocoapods] ( https://cocoapods.org/pods/AsposepdfCloud ) | [ Go.Dev] ( https://pkg.go.dev/github.com/aspose-pdf-cloud/aspose-pdf-cloud-go/ ) |
736
+ | .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift| Go|
737
+ | ---| ---| ---| ---| ---| ---| ---| --| --|
738
+ | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-dotnet ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-java ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-php ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-ruby ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-node.js ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-android ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-swift ) | [ GitHub] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-go ) |
739
+ | [ NuGet] ( https://www.nuget.org/packages/Aspose.pdf-Cloud/ ) | [ Maven] ( https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-pdf-cloud ) | [ Composer] ( https://packagist.org/packages/aspose/pdf-sdk-php ) | [ PIP] ( https://pypi.org/project/asposepdfcloud/ ) | [ GEM] ( https://rubygems.org/gems/aspose_pdf_cloud ) | [ NPM] ( https://www.npmjs.com/package/asposepdfcloud ) | [ Maven] ( https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-pdf-cloud ) | [ Cocoapods] ( https://cocoapods.org/pods/AsposepdfCloud ) | [ Go.Dev] ( https://pkg.go.dev/github.com/aspose-pdf-cloud/aspose-pdf-cloud-go/v20#readme-aspose-pdf-cloud ) |
744
740
745
741
[ Product Page] ( https://products.aspose.cloud/pdf/nodejs ) | [ Documentation] ( https://docs.aspose.cloud/display/pdfcloud/Home ) | [ API Reference] ( https://apireference.aspose.cloud/pdf/ ) | [ Code Samples] ( https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-nodejs ) | [ Blog] ( https://blog.aspose.cloud/category/pdf/ ) | [ Free Support] ( https://forum.aspose.cloud/c/pdf ) | [ Free Trial] ( https://dashboard.aspose.cloud/#/apps )
0 commit comments