OMR Template Editor - Spacing

How we can set Spacing between values in Vertical and Horizontal axis?

We can set only Cell spacing between one axis.

Where we can see full list of atributes in AMR file

Hi Chris,

Thank you for considering Aspose products, and welcome to Aspose.OCR support forum.

I am afraid, OMR Template Editor currently offers to adjust the vertical cell spacing. A ticket has been logged to provide means to adjust horizontal cell spacing as well. Ticket Id for your future reference is OCR-33673. We will check the request on our end and try to provide the feature with our upcoming release of Aspose.OCR for .NET API.

Regarding your other question, if you wish to get the details of elements used in a template, you can load the template using the OmrTemplate class, iterate over all elements to get their details such as Name, Position, Size. Please check the below provided code snippet for your reference.

C#


//Initialize a string with file path to the template
string templateFile = “template.amr”;
//Create an instance of OmrTemplate and load the template
OmrTemplate template = OmrTemplate.Load(templateFile);
//Iterate over the pages in template
foreach(OmrPage page in template.Pages)
{
//Get elements of each page
OmrElementsCollection collection = page.Elements;
//Iterate over the element collection
foreach (OmrElement element in collection)
{
//Display element name
Console.WriteLine(element.Name);
}
}

If you are looking for something else then please provide more details of your requirement so we could analyze it to assist you further in this regard.

The issues you have found earlier (filed as OCR-33673) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.