GenerationResult
GenerationResult class
The result of the template generation. Contains the template image and the template (json that describes elements location on the image).
public class GenerationResult
Properties
Name |
Description |
ErrorCode { get; set; } |
Gets or sets the error code. Equals 0 if no errors occurred. |
ErrorMessage { get; set; } |
Gets or sets the message describing error. Empty if no errors occurred. |
Template { get; set; } |
Gets or sets the Template JSON string |
TemplateImage { get; set; } |
Gets or sets the generated Template Image |
Warnings { get; set; } |
Gets or sets list of the warnings messages describing non-critical faults appeared during generation |
Methods
Name |
Description |
Save(string, string) |
Save template images and template to the specified folder |
SaveAsPdf(string, string) |
Save template images and template to the specified folder Template image saved as pdf |
Fields
See Also