## GenerationResult class

The result of the template generation. Contains the template image and the template (json that describes elements location on the image).

```csharp
public class GenerationResult
```

## Properties

| Name | Description |
| --- | --- |
| [ErrorCode](../../aspose.omr.generation/generationresult/errorcode) { get; set; } | Gets or sets the error code. Equals 0 if no errors occurred. |
| [ErrorMessage](../../aspose.omr.generation/generationresult/errormessage) { get; set; } | Gets or sets the message describing error. Empty if no errors occurred. |
| [Template](../../aspose.omr.generation/generationresult/template) { get; set; } | Gets or sets the Template JSON string |
| [TemplateImage](../../aspose.omr.generation/generationresult/templateimage) { get; set; } | Gets or sets the generated Template Image |
| [Warnings](../../aspose.omr.generation/generationresult/warnings) { get; set; } | Gets or sets list of the warnings messages describing non-critical faults appeared during generation |

## Methods

| Name | Description |
| --- | --- |
| [Save](../../aspose.omr.generation/generationresult/save)(string, string) | Save template images and template to the specified folder as .png |
| [SaveAsInteractivePdf](../../aspose.omr.generation/generationresult/saveasinteractivepdf)(string, string) | Save a form to an interactive PDF, enabling users to fill out fields directly on their computer or smartphone and submit it electronically. |
| [SaveAsPdf](../../aspose.omr.generation/generationresult/saveaspdf)(string, string) | Save template images to the specified folder as .pdf Multi page templates saved as a single .pdf file with multiple pages |

## Fields

| Name | Description |
| --- | --- |
| [MultipageTemplateImages](../../aspose.omr.generation/generationresult/multipagetemplateimages) | Gets or sets the collection of generated images for a multi-page template |

### See Also

* namespace [Aspose.OMR.Generation](../../aspose.omr.generation)
* assembly [Aspose.OMR](../../)

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