Skip to content

Commit 8e4ee95

Browse files
Merge pull request #4 from rizwanniazigroupdocs/master
Updated With Release 19.5
2 parents 8e7b86d + fecc282 commit 8e4ee95

27 files changed

Lines changed: 41 additions & 41 deletions

Examples/GroupDocs.Viewer.Cloud.Node.Examples.njsproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
</PropertyGroup>
3030
<ItemGroup>
3131
<Compile Include="Common_Utilities\Utils.js" />
32-
<Compile Include="Fonts_Resource\Viewer_Node_Delete_Fonts_Resources.js" />
33-
<Compile Include="Fonts_Resource\Viewer_Node_Get_Fonts_Resources.js" />
3432
<Compile Include="Run_Examples.js" />
3533
<Compile Include="Supported_File_Formats\Viewer_Node_Get_All_Supported_Formats.js" />
3634
<Compile Include="Working_With_Document_Information\Viewer_Node_Get_Info_With_Image_View_Options_Options.js" />
@@ -88,7 +86,6 @@
8886
</ItemGroup>
8987
<ItemGroup>
9088
<Folder Include="Common_Utilities\" />
91-
<Folder Include="Fonts_Resource\" />
9289
<Folder Include="Resources\" />
9390
<Folder Include="Resources\viewerdocs\" />
9491
<Folder Include="Supported_File_Formats\" />

Examples/Run_Examples.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ global.appSid = "XXXXX-XXXXX-XXXXX";
1313
global.appKey = "XXXXXXXXXX";
1414
global.myStorage = "XXXXX";
1515

16-
// construct ViewerApi
17-
global.viewerApi = groupdocs_viewer_cloud_1.ViewerApi.fromKeys(appSid, appKey);
16+
// construct ViewApi
17+
global.viewApi = groupdocs_viewer_cloud_1.ViewApi.fromKeys(appSid, appKey);
18+
19+
// construct InfoApi
20+
global.infoApi = groupdocs_viewer_cloud_1.InfoApi.fromKeys(appSid, appKey);
1821

1922
// construct StorageApi
2023
global.storageApi = groupdocs_viewer_cloud_1.StorageApi.fromKeys(appSid, appKey);

Examples/Supported_File_Formats/Viewer_Node_Get_All_Supported_Formats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
class Viewer_Node_Get_All_Supported_Formats {
33
static Run() {
44
// retrieve supported file-formats
5-
viewerApi.getSupportedFileFormats()
5+
infoApi.getSupportedFileFormats()
66
.then(function (response) {
77
console.log("Supported file-formats:");
88
response.formats.forEach(function (format) {

Examples/Working_With_Document_Information/Viewer_Node_Get_Info_With_CAD_Options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Viewer_Node_Get_Info_With_CAD_Options {
2020

2121
var request = new groupdocs_viewer_cloud_1.GetInfoRequest(viewOptions);
2222

23-
viewerApi.getInfo(request)
23+
infoApi.getInfo(request)
2424
.then(function (response) {
2525
console.log("Expected response type is InfoResult: " + response.pages.length);
2626
})

Examples/Working_With_Document_Information/Viewer_Node_Get_Info_With_HTML_View_Format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Viewer_Node_Get_Info_With_HTML_View_Format {
1414

1515
var request = new groupdocs_viewer_cloud_1.GetInfoRequest(viewOptions);
1616

17-
viewerApi.getInfo(request)
17+
infoApi.getInfo(request)
1818
.then(function (response) {
1919
console.log("Expected response type is InfoResult: " + response.pages.length);
2020
})

Examples/Working_With_Document_Information/Viewer_Node_Get_Info_With_Image_View_Format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Viewer_Node_Get_Info_With_Image_View_Format {
1414

1515
var request = new groupdocs_viewer_cloud_1.GetInfoRequest(viewOptions);
1616

17-
viewerApi.getInfo(request)
17+
infoApi.getInfo(request)
1818
.then(function (response) {
1919
console.log("Expected response type is InfoResult: " + response.pages.length);
2020
})

Examples/Working_With_Document_Information/Viewer_Node_Get_Info_With_Image_View_Options_Options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Viewer_Node_Get_Info_With_Image_View_Options_Options {
2121

2222
var request = new groupdocs_viewer_cloud_1.GetInfoRequest(viewOptions);
2323

24-
viewerApi.getInfo(request)
24+
infoApi.getInfo(request)
2525
.then(function (response) {
2626
console.log("Expected response type is InfoResult: " + response.pages.length);
2727
})

Examples/Working_With_Document_Information/Viewer_Node_Get_Info_With_Minimal_ViewOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Viewer_Node_Get_Info_With_Minimal_ViewOptions {
1313

1414
var request = new groupdocs_viewer_cloud_1.GetInfoRequest(viewOptions);
1515

16-
viewerApi.getInfo(request)
16+
infoApi.getInfo(request)
1717
.then(function (response) {
1818
console.log("Expected response type is InfoResult: " + response.pages.length);
1919
})

Examples/Working_With_Document_Information/Viewer_Node_Get_Info_With_Project_Options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Viewer_Node_Get_Info_With_Project_Options {
2323

2424
var request = new groupdocs_viewer_cloud_1.GetInfoRequest(viewOptions);
2525

26-
viewerApi.getInfo(request)
26+
infoApi.getInfo(request)
2727
.then(function (response) {
2828
console.log("Expected response type is InfoResult: " + response.pages.length);
2929
})

Examples/Working_With_Document_Information/Viewer_Node_Get_Info_With_Render_Hidden_Pages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Viewer_Node_Get_Info_With_Render_Hidden_Pages {
1818

1919
var request = new groupdocs_viewer_cloud_1.GetInfoRequest(viewOptions);
2020

21-
viewerApi.getInfo(request)
21+
infoApi.getInfo(request)
2222
.then(function (response) {
2323
console.log("Expected response type is InfoResult: " + response.pages.length);
2424
})

0 commit comments

Comments
 (0)