Add
Leave feedback
On this page
Adds file to comparison.
public void Add(string filePath)
| Parameter | Type | Description |
|---|---|---|
| filePath | String | Compared file path |
- class Comparer
- namespace GroupDocs.Comparison
- assembly GroupDocs.Comparison
Adds folder to comparison.
public void Add(string filePath, CompareOptions compareOptions)
- class CompareOptions
- class Comparer
- namespace GroupDocs.Comparison
- assembly GroupDocs.Comparison
Adds file to comparison with loading options specified.
public void Add(string filePath, LoadOptions loadOptions)
| Parameter | Type | Description |
|---|---|---|
| filePath | String | Compared file path |
| loadOptions | LoadOptions | Load options |
Learn more
- More about how to open and compare password-protected documents in C# using GroupDocs.Comparison for .NET: How to open and compare password-protected documents
- More about how to open and compare documents stored at local disk: How to open and compare files by file path
- More about how to open and compare documents from URL, FTP, Amazon S3, Azure Blob Storage and other storages: How to open and compare files from third-party storages
- class LoadOptions
- class Comparer
- namespace GroupDocs.Comparison
- assembly GroupDocs.Comparison
Adds document stream to comparison.
public void Add(Stream document)
| Parameter | Type | Description |
|---|---|---|
| document | Stream | Compared document stream |
Learn more
- More about how to open and compare password-protected documents in C# using GroupDocs.Comparison for .NET: How to open and compare password-protected documents
- More about how to open and compare documents stored at local disk: How to open and compare files by file path
- More about how to open and compare documents from URL, FTP, Amazon S3, Azure Blob Storage and other storages: How to open and compare files from third-party storages
- class Comparer
- namespace GroupDocs.Comparison
- assembly GroupDocs.Comparison
Adds document stream to comparison with loading options specified.
public void Add(Stream document, LoadOptions loadOptions)
| Parameter | Type | Description |
|---|---|---|
| document | Stream | Compared document stream |
| loadOptions | LoadOptions | Load options |
Learn more
- More about how to open and compare password-protected documents in C# using GroupDocs.Comparison for .NET: How to open and compare password-protected documents
- More about how to open and compare documents stored at local disk: How to open and compare files by file path
- More about how to open and compare documents from URL, FTP, Amazon S3, Azure Blob Storage and other storages: How to open and compare files from third-party storages
- class LoadOptions
- class Comparer
- namespace GroupDocs.Comparison
- assembly GroupDocs.Comparison
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.