Skip to content

Commit d52bfcd

Browse files
Samples update for use with SDK v21.6
1 parent 1c60ef4 commit d52bfcd

4 files changed

Lines changed: 65 additions & 71 deletions

File tree

Examples/RunExamples.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@
4545
// Advanced usage Examples
4646

4747
AddAreaAnnotation::Run();
48-
// AddArrowAnnotation::Run();
49-
// AddDistanceAnnotation::Run();
48+
AddArrowAnnotation::Run();
49+
AddDistanceAnnotation::Run();
5050
AddMultipleAnnotations::Run();
51-
// AddPointAnnotation::Run();
52-
// AddPolylineAnnotation::Run();
53-
// AddTextFieldAnnotation::Run();
54-
// AddTextRedactionAnnotation::Run();
55-
// AddTextReplacementAnnotation::Run();
56-
// AddTextStrikeoutAnnotation::Run();
57-
// AddTextUnderlineAnnotation::Run();
58-
// AddWatermarkAnnotation::Run();
51+
AddPointAnnotation::Run();
52+
AddPolylineAnnotation::Run();
53+
AddTextFieldAnnotation::Run();
54+
AddTextRedactionAnnotation::Run();
55+
AddTextReplacementAnnotation::Run();
56+
AddTextStrikeoutAnnotation::Run();
57+
AddTextUnderlineAnnotation::Run();
58+
AddWatermarkAnnotation::Run();
5959

6060
AddAnnotationDirect::Run();
6161
ExtractAnnotations::Run();

Examples/Utils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
class Utils {
55

66
// TODO: Get your ClientId and ClientSecret at https://dashboard.groupdocs.cloud (free registration is required)
7-
static $ClientId = 'annotation.cloud';
8-
static $ClientSecret = 'annotation.cloud';
7+
static $ClientId = 'XXXX-XXXX-XXXX-XXXX';
8+
static $ClientSecret = 'XXXXXXXXXXXXXXXX';
99

1010
static $ApiBaseUrl = 'https://api.groupdocs.cloud';
1111
static $MyStorage = 'First Storage';

Examples/composer.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
{
22
"name": "groupdocscloud/groupdocs-annotation-cloud-php-examples",
33
"description": "GroupDocs.Annotation Cloud SDK for PHP Examples",
4-
"license": "MIT",
5-
"repositories": [
6-
{
7-
"type": "path",
8-
"url": "../../../GitLab/PhpSdk/src"
9-
}
10-
],
4+
"license": "MIT",
115
"require": {
12-
"groupdocscloud/groupdocs-annotation-cloud": "21.2"
6+
"groupdocscloud/groupdocs-annotation-cloud": "21.6"
137
}
148
}

Examples/composer.lock

Lines changed: 51 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)