Introduction of PHP SDK Stamp Signature and Search Signature in GroupDocs.Signature Cloud 18.5

GroupDocs.Signature CloudWe are pleased to announce GroupDocs.Signature Cloud 18.5 release. The core library of GroupDocs.Signature Cloud has also been updated to GroupDocs.Signature for .NET 18.5. This monthly release includes number of new features and improvement.

The major features offered in this release are introduction of PHP SDK, Stamp Signature and Search Signature feature along with other improvement and bug fixes. Please check the detailed release notes of this version to get an idea about all the new features, improvements and fixes made in this release.

The following sections describe some details regarding these features.

Stamp Signature

Support of Stamp Signature is introduced in this release. New Signature Options Objects are included for Stamp Signature. Please check documentation for completed details to sign supported documents with Stamp Signature.

Search Signature in Document

Now you can search Digital, Barcode and QRCode Signatures in supported document formats. New Search Options Objects are introduced in this release for the purpose. Please check documentation to search supported signature types in documents.

PHP SDK

We have introduced PHP SDK for GroupDocs.Signature Cloud. It is a wrapper around GroupDocs.Signature REST APIs, that allows you to work with GroupDocs.Signature Cloud in PHP 5.5 or higher quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at Packagist and the source code at GitHub. The SDK includes working examples, to get you started in no time.

Improvement and Fixes

Below is the list of the most notable features improvements and fixes for GroupDocs.Signature Cloud 18.5 Release:

  • Introduction of PHP SDK for GroupDocs.Signature Cloud
  • Introduced support of Image Document format (JPEG, PNG, BMP, GIF, multi frames TIFF)
  • Implemented Stamp Signature type for supported Document formats PDF, Images, SpreadSheet Document Formats, Word Processing Document Formats and Presentation Document Formats
  • Added Search operations for all supported Document formats with following features
    • search for Digital Signatures in PDF, SpreadSheet Document Formats and Word Processing Document Formats
    • search for Barcode Signatures in PDF, Images, SpreadSheet Document Formats, Word Processing Document Formats and Presentation Document Formats
    • search for QR-Code Signatures in PDF, Images, SpreadSheet Document Formats, Word Processing Document Formats and Presentation Document Formats
  • Involved PageSetup extension to adjust pages selection for Signing, Verification and Search operations
  • Added ability to Sign documents with list of Signature Options data
  • Implemented ability to Verify documents with list of Verification Options data
  • Introduced support to Search documents with list of Search Options data

GroupDocs.Signature for Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Signature Cloud Product Family | Leave a comment

Get All Supported Conversion Formats from Document Stream in Next Generation GroupDocs.Conversion Cloud 18.4


GroupDocs.Conversion Cloud

We are pleased to annouce Next Generation GroupDocs.Conversion Cloud 18.4 REST API public release. This is a maintenance release release, that includes some improvements in document conversion performance along with PHP and .NET SDK update for better understanding of API features. This API can integrate with your applications for utilization of document conversion features, please click here for further details.

GroupDocs.Conversion Cloud – Improvements and Fixes

Our Document Conversion API for Cloud supports almost all major documents and image formats conversion to and from, This monthly release is introducing unit tests in PHP and .NET SDKs to get possible conversions from the document stream for any supported document format. Some major changes in current release are listed below. You may visit our GitHub to get updated SDKs for complete details.

  • Added additional unit test in .NET and PHP SDK for getting possible conversions from document stream
  • Improved swagger specification of GroupDocs.Conversion for Cloud
  • Unable to handle requests with single multipart MIME body – Fix

GroupDocs.Conversion Cloud API Resources

You may visit the following API resources for getting started and working with the API.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs  Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Conversion Cloud Product Family | Tagged , , , , | Leave a comment

Support of PPTM POTX XLTX and XLTM formats inlcuded in GroupDocs.Viewer Cloud 18.5

GroupDocs.Viewer for CloudAt Groupdocs we are glad to announce another release of GroupDocs.Viewer Cloud 18.5. This monthly release includes a number of new features and improvements. Some of the notable new features of this release are support of AutoFitting column width, Rendering only Print Area in Excel, Settings include/exclude hidden content along with many other new features and file formats support. The notable improvements of this release are to support Quality option when rendering Microsoft Project, rendering comments from Presentation documents, rendering metafile images into HTML and many more. Please check the detailed release notes of this version to get an idea about all the new features/enhancements and fixes made in this release.

New Features – GroupDocs.Viewer Cloud 18.5

There are nine features included in this regular monthly release. details are listed below:

Improvements and Fixes

There are eight features and one fix included in this regular monthly release. The most notable are:

  • Support Quality option when rendering Microsoft Project documents
  • Improve rendering comments from Presentation documents
  • Minify CSS content when rendering into HTML with embedded resources
  • Add prefix for CSS classes when rendering Email messages
  • Improve rendering metafile images into HTML
  • Extend support for Show Hidden Slides option to Open Document Presentation
  • Exporting contained images when rendering SVG to HTML
  • Improve rendering MS OneNote documents into HTML by providing pure HTML and SVG
  • Error when installing PHP SDK with Composer – Fix

GroupDocs.Viewer Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs  Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Viewer Cloud Product Family | Tagged , , , , | Leave a comment

Introduction of PHP SDK in Next Generation GroupDocs.Comparison Cloud 18.4


GroupDocs team is always trying to provide out of the box solutions for their users, this time we are glad to introduce Next Generation GroupDocs.Comparison Cloud 18.4 with PHP SDK. This monthly release is providing Five new features like PHP SDK, comparisons of annotations, Image and html comparison features. This release is also included Eleven API improvements like displaying of tables in PDF and Add page mapper for Note format etc. along with Eight Bug Fixes. Please follow the release notes here for further details. Complete API changes is listed below:

New Features – GroupDocs.Comparison Cloud

  • Added PHP SDK for GroupDocs.Comparison Cloud
  • Comparison.PDF: Implement annotations comparing
  • Implement Comparison Imaging
  • Implement the process absorbing of tables with merged cells
  • Implement Comparison.Html

Improvements – GroupDocs.Comparison Cloud API

  • Add public bool property LicenseChecker
  • Improve displaying of tables in PDF
  • Improve page mapper for PDF.
  • Comparison.PDF: fix filled cells on tables
  • Add page mapper for Note format
  • Comparison.Note: Improve comparison of table
  • Improve displaying of tables in PDF
  • Implement image update changes by shapes
  • Implement image update changes by zone
  • Improve registration of changes by groups
  • Improve Comparison.Imaging

Bug Fixes – GroupDocs.Comparison Cloud 18.4

  • Fix issue with filled cells on PDF
  • PDF Comparison issue
  • Fix ColumnMerger problem
  • Issues in comparison of table of contents
  • Fatal error in ParagraphDiffIndex
  • Issues with comparing data in tables
  • PPTX comparison output is hidden under some panel
  • PDF Comparison – scrambled/text overlapped output

GroupDocs.Comparison Cloud – PHP SDK

GroupDocs.Comparison Cloud PHP SDK is now available for public use. It is a wrapper around REST APIs, that allows you to work with GroupDocs.Comparison Cloud REST APIs in PHP 5.5 or higher quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at Packagist and the source code at GitHub.

PHP SDK Example – GoupDocs.Comparison Cloud API


//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
$configuration = new Configuration();
$configuration->setAppSid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX");
$configuration->setAppKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");

$comparisonApi = new ComparisonApi($configuration);

try { 

        $targetArray = array();
        $targetNames = array('target.docx');
        foreach ($targetNames as $targetName){
            array_push($targetArray,new ComparisonFileInfo(
                [
                    'folder' => 'comparison',
                    'name' => $targetName,
                    'password' => ''
                ]
            ));
        }

        $request = new Requests\ComparisonRequest(new ComparisonRequest([
            'sourceFile'=>new ComparisonFileInfo(
                [
                    'folder' => '',
                    'name' => 'source.docx',
                    'password' => ''
                ]
            ),
            'targetFiles'=> $targetArray,
            'settings'=> new ComparisonRequestSettings(
                [
                    'generateSummaryPage'=>true,
                    'showDeletedContent'=>true,
                    'styleChangeDetection'=>true,
                    'insertedItemsStyle' => new StyleSettingsValues(
                        [
                            'color' => new Color([
                                'blue'
                            ]),
                            'beginSeparatorString' => '',
                            'endSeparatorString' => ''
                        ]
                    ),
                    'deletedItemsStyle' => new StyleSettingsValues(
                        [
                            'color' => new Color([
                                'red'
                            ]),
                            'beginSeparatorString' => '',
                            'endSeparatorString' => ''
                        ]
                    ),
                    'styleChangedItemsStyle' => new StyleSettingsValues(
                        [
                            'color' => new Color([
                                'green'
                            ]),
                            'beginSeparatorString' => '',
                            'endSeparatorString' => ''
                        ]
                    ),
                    'markDeletedInsertedContentDeep'=>true,
                    'calculateComponentCoordinates'=>true,
                    'useFramesForDelInsElements'=>true,
                    'wordsSeparatorChars' => array(),
                    'metaData' => new ComparisonMetadataValues(

                    ),
                    'cloneMetadata' => "Source",
                    'passwordSaveOption' => "User",
                    'password'=>"1111",
                    'detailLevel' => "Low",

                ]
            ),
            'changes'=>array(new ComparisonChange([
                'id' => 0,
                'action' => 'Accept'
            ]))
        ]),
            'result.docx'
        );

        $response = $comparisonApi->comparison($request);
        echo  $response;
  } catch (Exception $e) {
        echo  "Error message: ",  $e->getMessage(), "\n";
  PHP_EOL;
}

API Explorer

The GroupDocs Cloud provides an Web API explorer to try out our API right away in your browser. It is a collection of Swagger documentation for the GroupDocs Cloud APIs. Using Web API explorer, you can get information about all the resources in the API. It also provides testing and interactivity to our API endpoint documentation. Please click here for further details.

SDKs

GroupDocs.Comparison Cloud API is providing SDKs to use its features in your favorite platform such as .NET. The SDKs are hosted on our GitHub repository along with working examples, to get you started in no time.

GroupDocs.Comparison Cloud API Resources

You may visit the following API resources for getting started and working with the API.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Comparison Cloud Product Family | Tagged , , , | Leave a comment

Introduction of PHP SDK in Next Generation GroupDocs.Annotation Cloud 18.4

GroupDocs.Annotaiton for CloudGroupDocs.Annotation Cloud is a platform independent REST API to annotate documents, that can be used with any language in Cloud Application/Websites. We are pleased to announce Next Generation GroupDocs.Annotation Cloud 18.4. The core library of GroupDocs.Annotation Cloud has also been updated to GroupDocs.Annotation for .NET 18.4.

The major feature offered in this release is introduction of PHP SDK along with other improvements and bug fixes. Please check the detailed release notes of this version to get an idea about all the new features, improvements and fixes made in this release.

PHP SDK

PHP SDK of GroupDocs.Annotation Cloud is introduced in this version. It is a wrapper around REST APIs, that allows you to work with GroupDocs.Annotaiton Cloud REST APIs in PHP 5.5 or higher quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at Packagist and the source code at GitHub. The SDK includes working examples, to get you started in no time. We are also in process to introduce SDKs for other popular platforms e.g. Ruby, Java, Python etc.

Improvement and Fixes

Below the list of the most notable features improvements and fixes for GroupDocs.Annotation Cloud 18.4:

  • Introduction of PHP SDK for GroupDocs.Annotation Cloud
  • Improved Replacement annotation for text in different paragraphs
  • Fixed import text field for Diagram documents
  • Fixed bug with import text annotations from pdf
  • Fixed resizing image when user pass width and height
  • Fixed creating of Arrow annotation for Diagrams
  • Fixed issue with wrong distance structure after export in diagram
  • Fixed issue with wrong polyline structure after export in diagram
  • Fixed bug with hanging of sample while importing distance annotation for slides
  • Fixed bug when importing area annotation
  • Fixed bug with importing annotations for diagrams
  • Improved export of underline text annotation for PDF
  • Improved export strikeout text annotation for PDF was
  • Improved creating annotations from colored or transparent text
  • Fixed transparent text for all formats
  • Fixed bug when importing text for textfield annotation in Diagrams
  • Improved export of text annotations in PDF format
  • Implemented adding annotations to metadata for Slides and Words formats
  • Implement import using metadata for Images
  • Improved Images annotating
  • Improved using metadata for annotating PDF documents
  • Refactored and improved annotating Images
  • Fixed issue when images cleanup leaves artifacts after annotations removing
  • Fixed wrong annotation range if other annotation has already been created in the same location for Words documents

GroupDocs.Annotation Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs for Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Annotation Cloud Product Family | Tagged , | Leave a comment

Introduction of PHP SDK in Next Generation GroupDocs.Conversion Cloud 18.3


GroupDocs.Conversion Cloud

We are glad to announce Next Generation GroupDocs.Conversion Cloud 18.3 REST API release for public use. This release is introducing enhanced performance and PHP SDK along with few bug fixes. This API can be used in your applications for document conversion features utilization, please click here for further details.

GroupDocs.Conversion Cloud – Improvements and Fixes

GroupDocs.Conversion Cloud is a REST API that supports conversion of almost all major documents and image formats to Words, Cells, Html, PDF, Slides and Image formats for the whole document, page by page or custom range of pages. Some major changes in current release are as following. You may visit release notes for complete details.

  • Introduction of PHP SDK for GroupDocs.Conversion Cloud
  • Some API methods return error 401
  • Get all possible conversions return invalid response

GroupDocs.Conversion Cloud – PHP SDK

GroupDocs.Conversion Cloud PHP SDK is introduced this version. It is a wrapper around REST APIs, that allows you to work with GroupDocs.Conversion Cloud REST APIs in PHP 5.5 or higher quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at Packagist and the source code at GitHub.

GroupDocs.Conversion Cloud API Resources

You may visit the following API resources for getting started and working with the API.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Conversion Cloud Product Family | Tagged , , , , , , , , | Leave a comment

First Public Release of Next Generation GroupDocs.Storage Cloud

GroupDocs.Storage for Cloud

We are pleased to announce Next Generation GroupDocs.Storage Cloud 18.3. It is a new and improved REST API for performing different Storage related operations in Cloud Applications/Websites. Following are some major features offered in first version of Next Generation GroupDocs.Storage Cloud. For complete details of features offered by Next Generation GroupDocs.Storage Cloud REST API, please check documentation and API References.

Upload a Particular File

You can easily upload your files to your preferred cloud storage using Groupdocs.Storage Cloud API. Please see the following REST command(Curl) and SDK example for the purpose.

Rest example(cURL)

curl -v "https://api.groupdocs.cloud/v1.0/storage/file?path=testfile.doc"
-X PUT \
-T C:/testfile.doc \
-H "Content-Type: multipart/form-data" \
-H "Accept: application/json" \
-H "authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”

.NET SDK example

var configuration = new Configuration { AppSid = Sid,AppKey = Key};
StorageApi apiInstance = new StorageApi(configuration);
try
{
PutCreateRequest request = new PutCreateRequest();
request.Path = "testfile.doc";
request.File = File.Open("D://testfile.doc", FileMode.Open);
request.VersionId = null;
var response = apiInstance.PutCreate(request);
Debug.Print("File Uploaded: " + response.Code.ToString());
}
catch (Exception e)
{
Debug.Print("Exception while calling PutCreate: " + e.Message);
}

Download a Particular File

GroupDocs.Storage Cloud API allows you to download specific file from your preferred cloud storage. Please note by default API works with GroupDocs Cloud Storage. If you want to use a Cloud Storage other than GroupDocs Cloud Storage, you need to configure Third Party Storage with Groupdocs for Cloud. Please follow the instructions at this page to configure your required storage. Please see the following REST command(Curl) and .NET SDK example for downloading a particular file.

Rest example(cURL)

curl -v "https://api.groupdocs.cloud/v1.0/storage/file?path=signature.jpg" \
-X GET \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”

.NET SDK example

var configuration = new Configuration { AppSid = Sid,AppKey = Key};
StorageApi apiInstance = new StorageApi(configuration);
try
{
GetDownloadRequest request = new GetDownloadRequest();
request.Path = "signature.jpg";
request.Storage = "MyStorage";
request.VersionId = null;
var response = apiInstance.GetDownload(request);
Debug.Print("Result as System.IO.Stream: " + response.Length.ToString());
}
catch (Exception e)
{
Debug.Print("Exception while calling GetDownload: " + e.Message);
}

SDKs

GroupDocs.Storage Cloud API is providing SDKs to use its features in your favorite platform. Currently .NET and PHP SDKs are included. We are in process to introduce SDKs for other popular platforms e.g. Ruby, Java, Python etc. The SDKs are hosted on our GitHub repository along with working examples, to get you started in no time.  GroupDocs.Storage Cloud SDKs include the following features:

  • SDKs are fully sync with the API Reference
  • Classes, methods and properties have comments and are IDE-friendly
  • Usage of Request/Response classes to represent long lists of parameters.
  • License disclaimers in source code
  • Our SDKs support OAuth 2.0 authentication

API Explorer

The GroupDocs Cloud provides a Web API explorer to try out our API right away in your browser. It is a collection of Swagger documentation for the GroupDocs Cloud APIs. Using Web API explorer, you can get information about all the resources in the API. It also provides testing and interactivity to our API endpoint documentation. Please click here for to explore GroupDocs.Storage Cloud APIs.

GroupDocs.Storage Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

 

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Storage Cloud Product Family | Tagged , , , , | Leave a comment

Support of Minified HTML Responsive HTML and PHP SDK in GroupDocs.Viewer Cloud 18.2

GroupDocs.Viewer for CloudWe are pleased to announce GroupDocs.Viewer Cloud 18.2. The release of this month includes a number of new features. Some of the important new features of this release are support of minified HTML and SVG, rendering responsive HTML, rendering specific layer of CAD documents along with many other new features. Please check the detailed release notes of this version to get an idea about all the new features/enhancements and fixes made in this release.

The following sections describe some details regarding these features.

Rendering the Responsive HTML

We have introduced support of responsive HTML output in this version. Now, GroupDocs.Viewer API provides a new EnableResponsiveRendering property of the HtmlOptions object, that lets you to render documents as responsive output HTML. Please check documentation for more details of this exciting feature.

Support to get Minified HTML and SVG

Sometimes it is business requirement to get views of a document that loads faster for review, by removing unnecessary data. This version supports this functionality by introducing minificaiton feature. It provides a new EnableMinification property of the HtmlOptions object, that lets you get output content minified. It removes comments, extra white-spaces, and other unneeded characters without breaking the content structure. As a result, page becomes smaller in size and loads faster.

Introduction of PHP SDK of GroupDocs.Viewer Cloud

GroupDocs.Viewer Cloud PHP SDK is introduced this version. It is a wrapper around REST APIs, that allows you to work with GroupDocs.Viewer Cloud REST APIs in PHP 5.5 or higher quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at Packagist and the source code at GitHub.

Other Improvements

There are 12 features and fixes in this regular monthly release. The most notable are:

  • Support of new file formats
    • Jpeg2000 (JP2, J2C, J2K, JPF, JPX, JPM)
    • PPSM (PowerPoint macro-enabled slide show)
    • POTM (PowerPoint macro-enabled template)
    • ODG (OpenDocument Graphics)
  • Added options which allows to specify Layers when rendering CAD documents
  • Support of rendering notes for Presentation documents when rendering as HTML
  • Support of rendering MS Project documents by time intervals

GroupDocs.Viewer Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Viewer Cloud Product Family | Tagged , , , , | Leave a comment

Releasing Next Generation GroupDocs.Signature Cloud API

Today, GroupDocs announces first public release of Next Generation GroupDocs.Signature Cloud 17.12. It is an e-Signature REST API to add the power of electronic signatures in your applications without installing any additional software. The GroupDocs.Signature Cloud API is an easy way to give your apps e-signature functionality with features like adding e-signature, verifying signature and searching signature in supported file formats along with other features. Please check release notes for complete list of features offered in the first version of GroupDocs.Signature Cloud.

The following sections describe some details regarding these features.

Supported Signature Types

The first version of GroupDocs.Signature Cloud supports following types of signatures in the API:

  • Digital Signature
  • Barcode Signature
  • QR-Code Signature
  • Text Signature
  • Image Signature

Add Digital Signature to Document

GroupDocs.Signature Cloud REST API supports to add Digital Signature to a document. It provides methods to create Digital Signature in Document Pages with different options of Certificate type, location, alignment, font, margins and appearances by using Signature Options Objects data in request body. Please see the following URI, REST command(Curl) and .NET SDK example for the purpose.

URI

https://api.groupdocs.cloud/v1/signature/{filename}/digital

Request Data

{"Visible": true,"Password": "password","CertificateGuid": "temp.pfx","ImageGuid": "signature.jpg","Left": 10,"Top": 10,"Width": 40,"Height": 10,"LocationMeasureType": "Millimeters","SizeMeasureType": "Millimeters","RotationAngle": 0,"HorizontalAlignment": "Right","VerticalAlignment": "Bottom","Margin": {"All": 10,"Left": 10,"Top": 10,"Right": 10,"Bottom": 10},"MarginMeasureType": "Millimeters","Opacity": 0.5,"SignAllPages": true,"DocumentPageNumber": 1,"OptionsType": "PdfSignDigitalOptionsData"}

Rest example(cURL)

curl -v "https://api.groupdocs.cloud/v1/signature/01_pages.pdf/digital" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{"Visible": true,"Password": "password","CertificateGuid": "temp.pfx","ImageGuid": "signature.jpg","Left": 10,"Top": 10,"Width": 40,"Height": 10,"LocationMeasureType": "Millimeters","SizeMeasureType": "Millimeters","RotationAngle": 0,"HorizontalAlignment": "Right","VerticalAlignment": "Bottom","Margin": {"All": 10,"Left": 10,"Top": 10,"Right": 10,"Bottom": 10},"MarginMeasureType": "Millimeters","Opacity": 0.5,"SignAllPages": true,"DocumentPageNumber": 1,"OptionsType": "PdfSignDigitalOptionsData"}" \
-H "authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”

.NET SDK example

//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
var configuration = new Configuration
{
    AppSid = Sid,
    AppKey = Key
};

var apiInstance = new SignatureApi(configuration);

try
{
    var signOptionsData = new GroupDocs.Signature.Cloud.Sdk.Model.PdfSignDigitalOptionsData()
    {
        DocumentPageNumber = 1,
        Height = 80,
        HorizontalAlignment = GroupDocs.Signature.Cloud.Sdk.Model.SignDigitalOptionsData.HorizontalAlignmentEnum.Right,
        Left = 10,
        LocationMeasureType = GroupDocs.Signature.Cloud.Sdk.Model.SignDigitalOptionsData.LocationMeasureTypeEnum.Pixels,
        Margin = new GroupDocs.Signature.Cloud.Sdk.Model.PaddingData() { Left = 10, Right = 10, Bottom = 10, Top = 10 },
        MarginMeasureType = GroupDocs.Signature.Cloud.Sdk.Model.SignDigitalOptionsData.MarginMeasureTypeEnum.Pixels,
        Opacity = 0.5,
        SignAllPages = false,
        CertificateGuid = "temp.pfx",
        Password="password",
        ImageGuid="signature.jpg",
        Top = 100,
        VerticalAlignment = GroupDocs.Signature.Cloud.Sdk.Model.SignDigitalOptionsData.VerticalAlignmentEnum.Center,
        Width = 100
    };
    var request = new PostDigitalRequest
    {
        Name = "02_pages.pdf",
        SignOptionsData = signOptionsData,
        Password = null,
        Folder = null,

    };

    var response = apiInstance.PostDigital(request);

    Debug.Print("FleName: " + response.FileName);

}
catch (Exception e)
{
    Debug.Print("Exception when signing document with digital signature: " + e.Message);
}

Verify Digital Signature

GroupDocs.Signature Cloud REST API supports to verify a signed document. It provides methods to verify Digital Signature in Documents Pages with different options for page number, text and search criteria by using Verification Options Objects data in request body. Please see the following URI, JSON Request data, REST command(Curl) and .NET SDK example for the purpose.

URI

https://api-qa.groupdocs.cloud/v1/signature/{filename}/digital/verification?Folder={folder}

Request Data

"{"DocumentPageNumber":1,"Password": "password","CertificateGuid": "temp.pfx","Comments": "verified data","SignDateTimeFrom": "1/12/2017","SignDateTimeTo":"12/12/2017","OptionsType":"PdfVerifyDigitalOptionsData"}

Rest example(cURL)

curl -v "https://api-qa.groupdocs.cloud/v1/signature/Signed_Digital.pdf/digital/verification?Folder=signed" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{"DocumentPageNumber":1,"Password": "password","CertificateGuid": "temp.pfx","Comments": "verified data","SignDateTimeFrom": "1/12/2017","SignDateTimeTo":"12/12/2017","OptionsType":"PdfVerifyDigitalOptionsData"}" \
-H "authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”

.NET SDK example

//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
var configuration = new Configuration
{
    AppSid = Sid,
    AppKey = Key
};
var apiInstance = new SignatureApi(configuration);
try
{
    var verifyOptionsData = new GroupDocs.Signature.Cloud.Sdk.Model.PdfVerifyDigitalOptionsData()
    {
        DocumentPageNumber= 1,
        Password = "password",
        CertificateGuid = "temp.pfx",
    };
    var request = new PostVerificationDigitalRequest
    {
        Name = "Signed_Digital.pdf",
        VerifyOptionsData = verifyOptionsData,
        Password = null,
        Folder = "signed"
    };
var response = apiInstance.PostVerificationDigital(request);
Debug.Print("FleName: " + response.FileName);
Debug.Print("Result: " + response.Result);
}
catch (Exception e)
{
Debug.Print("Exception when verifying Digital signature: " + e.Message);
}

API Explorer

GroupDocs for Cloud REST APIs come with a web based API Explorer, that provides an easiest way to try out our API right away in your favorite browser. It is a collection of Swagger documentation for the GroupDocs for Cloud APIs. So simply, first you need to sign up with GroupDocs for Cloud, get APP key and SID and start testing GropuDocs.Signature Cloud Rest API in web browser interactively.

GroupDocs.Signature Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Signature Cloud Product Family | Tagged , , , , , , , | Leave a comment

Revealing First Public Release of Next Generation GroupDocs.Comparison Cloud API


GroupDocs team always works passionately to provide out of the box solutions for their users, in this regard we are proudly announcing first release of Next Generation GroupDocs.Comparison Cloud 17.12 REST API for public use. It is a platform independent document comparison REST API that can be integrated with any development language. Our Document Comparison Cloud API is providing two main resources for document comparison operation, Changes and Comparison Document which allows you to get an array of changes or get result document file path or stream. This API can be used in your applications for better user experience and enhanced performance. It supports all major business document and image formats, please click here for further details.

Features – GroupDocs.Comparison Cloud

GroupDocs.Comparison Cloud is a REST API for comparing almost all major documents and image formats, like Word, Cell, Html, PDF, PowerPoint and Image. Some major features are as follows. You may visit release notes for complete details.

Document Resources:

Changes Resource:

Get Changes from Compared Documents

You can quickly compare the document with other document of same formats. Here is the list of
supported formats, please have a look on quick example of DOCX to DOCX comparison using GroupDocs.Comparison Cloud API.

URL


https://apireference.groupdocs.cloud/comparison/#!/Changes/PostChanges

Request Body

{'sourceFile':{'folder':'comparisons','name':'source.docx','password':''},'targetFiles':[{'folder':'comparisons','name':'target.docx','password':''}],'settings ':{'generateSummaryPage':true,'showDeletedContent':true,'styleChangeDetection':true,'insertedItemsStyle':{'color':'Blue','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'deletedItemsStyle':{'color':'Red','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'styleChangedItemsStyle':{'color':'Green','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'wordsSeparatorChars':[],'detailLevel':'Low','useFramesForDelInsElements':false,'calculateComponentCoordinates':false,'markDeletedInsertedContentDeep':false},'changes':[{'id':0,'action':'Reject'},{'id':1,'action':'Reject'}]}"

cURL Example

curl -v "https://api.groupdocs.cloud/v1.0/comparison/compareDocuments/changes?appsid=XXXX&signature=XXX-XX"
-H "content-type: application/json"
-X POST -d "{'sourceFile':{'folder':'comparisons','name':'source.docx','password':''},'targetFiles':[{'folder':'comparisons','name':'target.docx','password':''}],'settings ':{'generateSummaryPage':true,'showDeletedContent':true,'styleChangeDetection':true,'insertedItemsStyle':{'color':'Blue','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'deletedItemsStyle':{'color':'Red','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'styleChangedItemsStyle':{'color':'Green','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'wordsSeparatorChars':[],'detailLevel':'Low','useFramesForDelInsElements':false,'calculateComponentCoordinates':false,'markDeletedInsertedContentDeep':false},'changes':[{'id':0,'action':'Reject'},{'id':1,'action':'Reject'}]}"

GoupDocs.Comparison Cloud API .NET SDK Example


var configuration = new Configuration

{
    AppSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
    AppKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
};
// Initiate API object
var apiInstance = new ChangesApi(configuration);
try
{
    // Comparison Request
    ComparisonRequest comparisonRequest = new ComparisonRequest()
    {
        // Comparison Request Settings
        Settings = new ComparisonRequestSettings()
        {
            GenerateSummaryPage = true,
            ShowDeletedContent = true,
            StyleChangeDetection = true,
            UseFramesForDelInsElements = false,
            DetailLevel = "Low",
            DeletedItemsStyle = new StyleSettingsValues()
            {
                BeginSeparatorString = "",
                EndSeparatorString = "",
                Color = new Color().Red
            },
            InsertedItemsStyle = new StyleSettingsValues()
            {
               BeginSeparatorString = "",
                EndSeparatorString = "",
               Color = new Color().Blue
            },
            StyleChangedItemsStyle = new StyleSettingsValues()
            {
               BeginSeparatorString = "",
               EndSeparatorString = "",
                Color = new Color().Green
            },
            CalculateComponentCoordinates = false,
            CloneMetadata = "Source",
            MarkDeletedInsertedContentDeep = false,
            MetaData = new ComparisonMetadataValues()
          {
                Author = "GroupDocs",
                Company = "GroupDocs",
                LastSaveBy = "GroupDocs"
          },
            Password = "",
            PasswordSaveOption = ""

        },
        // Source file
        SourceFile = new ComparisonFileInfo()
        {
           Folder = "comparisons",
            Name = "source.docx",
            Password = ""
        }
    };

    List targets = new List();
    // Target file
    targets.Add(new ComparisonFileInfo()
    {
        Folder = "comparisons",
        Name = "target.docx",
        Password = ""
    });
    // Target file - single or multiple target files are allowed.
   comparisonRequest.TargetFiles = targets.ToArray();

    // Accept or Reject changes
    comparisonRequest.Changes = new List();
    comparisonRequest.Changes.Add(new ComparisonChange() { Id = 0, Action = "Accept" });
    comparisonRequest.Changes.Add(new ComparisonChange() { Id = 1, Action = "Reject" });

    // API call for response.

    var response = apiInstance.PostChanges(new Model.Requests.PostChangesRequest() { Request =    comparisonRequest });

    Console.WriteLine(string.Format("{0}: {1}", "response is List", response.Count.ToString()));
}
catch (Exception e)
{
    Console.WriteLine("Exception when calling ChangesApi.PostChanges: " + e.Message);
}

Get Document Resources

You can compare documents and can get the result document path by providing the JsonRequest Object data in the request body. The following GroupDocs.Comparison Cloud REST API example can be used to get result document path.

URL


https://apireference.groupdocs.cloud/comparison/#!/Comparison/Comparison

Request Body

{'sourceFile':{'folder':'comparisons','name':'source.docx','password':''},'targetFiles':[{'folder':'comparisons','name':'target.docx','password':''}],'settings ':{'generateSummaryPage':true,'showDeletedContent':true,'styleChangeDetection':true,'insertedItemsStyle':{'color':'Blue','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'deletedItemsStyle':{'color':'Red','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'styleChangedItemsStyle':{'color':'Green','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'wordsSeparatorChars':[],'detailLevel':'Low','useFramesForDelInsElements':false,'calculateComponentCoordinates':false,'markDeletedInsertedContentDeep':false},'changes':[{'id':0,'action':'Reject'},{'id':1,'action':'Reject'}]}"

cURL Example

curl -v  "https://api.groupdocs.cloud/v1.0/comparison/compareDocuments?outPath=comparisons%2Fcomparedoutput.docx&appsid=XXXX&signature=XXX-XX" 
-H "Content-Type: application/json"
-X POST -d  "{'sourceFile':{'folder':'comparisons','name':'source.docx','password':''},'targetFiles':[{'folder':'comparisons','name':'target.docx','password':''}],'settings
  ':{'generateSummaryPage':true,'showDeletedContent':true,'styleChangeDetection':true,'insertedItemsStyle':{'color':'Blue','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'deletedItemsStyle':{'color':'Red','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'styleChangedItemsStyle':{'color':'Green','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'wordsSeparatorChars':[],'detailLevel':'Low','useFramesForDelInsElements':false,'calculateComponentCoordinates':false,'markDeletedInsertedContentDeep':false},'changes':[{'id':0,'action':'Reject'},{'id':1,'action':'Reject'}]}"

GoupDocs.Comparison Cloud API .NET SDK Example


var configuration = new Configuration
{
    AppSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
    AppKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
};

// Initiate API object
var apiInstance = new ComparisonApi(configuration);

try
{
    // Comparison Request
    ComparisonRequest comparisonRequest = new ComparisonRequest()
    {
        // Comparison Request Settings
        Settings = new ComparisonRequestSettings()
        {
            GenerateSummaryPage = true,
            ShowDeletedContent = true,
            StyleChangeDetection = true,
            UseFramesForDelInsElements = false,
            DetailLevel = "Low",
            DeletedItemsStyle = new StyleSettingsValues()
            {
                BeginSeparatorString = "",
                EndSeparatorString = "",
                Color = new Color().Red
            },
            InsertedItemsStyle = new StyleSettingsValues()
            {
                BeginSeparatorString = "",
                EndSeparatorString = "",
                Color = new Color().Blue
            },
            StyleChangedItemsStyle = new StyleSettingsValues()
            {
                BeginSeparatorString = "",
                EndSeparatorString = "",
                Color = new Color().Green
            },
            CalculateComponentCoordinates = false,
            CloneMetadata = "Source",
            MarkDeletedInsertedContentDeep = false,
            MetaData = new ComparisonMetadataValues()
            {
                Author = "GroupDocs",
                Company = "GroupDocs",
                LastSaveBy = "GroupDocs"
            },
            Password = "",
            PasswordSaveOption = ""
        },
        // Source file
        SourceFile = new ComparisonFileInfo()
        {
            Folder = "comparisons",
            Name = "source.docx",
            Password = ""
        }
    };

    List targets = new List();
    // Target file
    targets.Add(new ComparisonFileInfo()
    {
        Folder = "comparisons",
        Name = "target.docx",
        Password = ""
    });
    // Target file - single or multiple target files are allowed.
    comparisonRequest.TargetFiles = targets.ToArray();

    // API call for response.
    var response = apiInstance.Comparison(new Model.Requests.ComparisonRequest() { Request = comparisonRequest, OutPath = "comparisons/compare-result.docx" });

    Console.WriteLine(string.Format("{0}: {1}", "response is Link", response.Href.ToString()));
}
catch (Exception e)
{
    Console.WriteLine("Exception when calling ComparisonApi.Comparison: " + e.Message);
}

API Explorer

The GroupDocs Cloud provides an Web API explorer to try out our API right away in your browser. It is a collection of Swagger documentation for the GroupDocs Cloud APIs. Using Web API explorer, you can get information about all the resources in the API. It also provides testing and interactivity to our API endpoint documentation. Please click here for further details.

SDKs

GroupDocs.Comparison Cloud API is providing SDKs to use its features in your favorite platform such as .NET. The SDKs are hosted on our GitHub repository along with working examples, to get you started in no time.

GroupDocs.Comparison Cloud API Resources

You may visit the following API resources for getting started and working with the API.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Comparison Cloud Product Family | Tagged , , , , , | Leave a comment