Skip to content

Commit 52aa8a6

Browse files
author
Kirill Novinskij
committed
update to 25.5.0
1 parent 568ba84 commit 52aa8a6

File tree

6 files changed

+476
-28
lines changed

6 files changed

+476
-28
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
2929
## Read PDF Formats
3030
MHT, PCL, PS, XSLFO, MD
3131

32-
## Enhancements in Version 25.4
33-
- Add method for adding Stamp per page in batch.
32+
## Enhancements in Version 25.5
33+
- Add a method for comparing pdf files.
3434
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3535

3636
## Unit Tests

docs/PdfApi.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ Method | HTTP request | Description
203203
[**PostChangePasswordDocumentInStorage**](PdfApi.md#postchangepassworddocumentinstorage) | **POST** /pdf/\{name}/changepassword | Change document password in storage.
204204
[**PostCheckBoxFields**](PdfApi.md#postcheckboxfields) | **POST** /pdf/\{name}/fields/checkbox | Add document checkbox fields.
205205
[**PostComboBoxFields**](PdfApi.md#postcomboboxfields) | **POST** /pdf/\{name}/fields/combobox | Add document combobox fields.
206+
[**PostComparePdf**](PdfApi.md#postcomparepdf) | **POST** /pdf/compare | Compare two PDF documents.
206207
[**PostCreateDocument**](PdfApi.md#postcreatedocument) | **POST** /pdf/\{name} | Create empty document.
207208
[**PostCreateField**](PdfApi.md#postcreatefield) | **POST** /pdf/\{name}/fields | Create field.
208209
[**PostDecryptDocumentInStorage**](PdfApi.md#postdecryptdocumentinstorage) | **POST** /pdf/\{name}/decrypt | Decrypt document in storage.
@@ -3055,7 +3056,7 @@ Name | Type | Description | Notes
30553056

30563057
<a name="getmhtinstoragetopdf"></a>
30573058
# **GetMhtInStorageToPdf**
3058-
> System.IO.Stream GetMhtInStorageToPdf (string srcPath, string storage = null)
3059+
> System.IO.Stream GetMhtInStorageToPdf (string srcPath, double? height, double? width, double? marginLeft, double? marginBottom, double? marginRight, double? marginTop, string storage = null)
30593060
30603061
Convert MHT file (located on storage) to PDF format and return resulting file in response.
30613062

@@ -3065,6 +3066,12 @@ Convert MHT file (located on storage) to PDF format and return resulting file in
30653066
Name | Type | Description | Notes
30663067
------------- | ------------- | ------------- | -------------
30673068
**srcPath** | **string**| Full source filename (ex. /folder1/folder2/template.mht) |
3069+
**height** | **double?**| Page height |
3070+
**width** | **double?**| Page width |
3071+
**marginLeft** | **double?**| Page margin left |
3072+
**marginBottom** | **double?**| Page margin bottom |
3073+
**marginRight** | **double?**| Page margin right |
3074+
**marginTop** | **double?**| Page margin top |
30683075
**storage** | **string**| The document storage. | [optional]
30693076

30703077
### Return type
@@ -5816,6 +5823,33 @@ Name | Type | Description | Notes
58165823

58175824
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
58185825

5826+
<a name="postcomparepdf"></a>
5827+
# **PostComparePdf**
5828+
> AsposeResponse PostComparePdf (string path1, string path2, string outPath, string storage = null)
5829+
5830+
Compare two PDF documents.
5831+
5832+
5833+
### Parameters
5834+
5835+
Name | Type | Description | Notes
5836+
------------- | ------------- | ------------- | -------------
5837+
**path1** | **string**| Path to first PDF document. |
5838+
**path2** | **string**| Path to second PDF document. |
5839+
**outPath** | **string**| Full filename of the resulting document. |
5840+
**storage** | **string**| The documents storage. | [optional]
5841+
5842+
### Return type
5843+
5844+
[**AsposeResponse**](AsposeResponse.md)
5845+
5846+
### HTTP request headers
5847+
5848+
- **Content-Type**: application/json
5849+
- **Accept**: application/json
5850+
5851+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
5852+
58195853
<a name="postcreatedocument"></a>
58205854
# **PostCreateDocument**
58215855
> DocumentResponse PostCreateDocument (string name, DocumentConfig documentConfig, string storage = null, string folder = null)
@@ -8726,7 +8760,7 @@ Name | Type | Description | Notes
87268760

87278761
<a name="putmhtinstoragetopdf"></a>
87288762
# **PutMhtInStorageToPdf**
8729-
> AsposeResponse PutMhtInStorageToPdf (string name, string srcPath, string dstFolder = null, string storage = null)
8763+
> AsposeResponse PutMhtInStorageToPdf (string name, string srcPath, double? height, double? width, double? marginLeft, double? marginBottom, double? marginRight, double? marginTop, string dstFolder = null, string storage = null)
87308764
87318765
Convert MHT file (located on storage) to PDF format and upload resulting file to storage.
87328766

@@ -8737,6 +8771,12 @@ Name | Type | Description | Notes
87378771
------------- | ------------- | ------------- | -------------
87388772
**name** | **string**| The document name. |
87398773
**srcPath** | **string**| Full source filename (ex. /folder1/folder2/template.mht) |
8774+
**height** | **double?**| Page height |
8775+
**width** | **double?**| Page width |
8776+
**marginLeft** | **double?**| Page margin left |
8777+
**marginBottom** | **double?**| Page margin bottom |
8778+
**marginRight** | **double?**| Page margin right |
8779+
**marginTop** | **double?**| Page margin top |
87408780
**dstFolder** | **string**| The destination document folder. | [optional]
87418781
**storage** | **string**| The document storage. | [optional]
87428782

0 commit comments

Comments
 (0)