---
title: "SavePdf"
url: "https://reference.aspose.com/omr/net/aspose.omr.batchprocessings/batchgenerationresult/savepdf/"
product: "Aspose.OMR for .NET API Reference"
description: "Save results of multiple template generations as .png images into folder with corresponding .domr file"
---

## BatchGenerationResult.SavePdf method

Save results of multiple template generations as .png images into folder with corresponding .domr file

```csharp
public void SavePdf(string folderPath, string domrName)
```

| Parameter | Type | Description |
| --- | --- | --- |
| folderPath | String | Full path to directory for images and .domr file |
| domrName | String | name for recognition pattern file, with extension |

### Exceptions

| exception | condition |
| --- | --- |
| DirectoryNotFoundException | When folder does not exists |
| Exception | In case of an error in template generation |

### See Also

* class [BatchGenerationResult](../../batchgenerationresult)
* namespace [Aspose.OMR.BatchProcessings](../../batchgenerationresult)
* assembly [Aspose.OMR](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OMR.dll -->
