Free Support Forum - aspose.com

Can I generate a template with Aspose.OMR for .Net?


#1

I downloaded the Aspose.OMR with NuGet and testing it.
How do I generate a template?

Because I couldn’t find the way, so I tried to use a test template AsposeTest.omr of Aspose.OMR Cloud:
OmrEngine engine = new OmrEngine();
TemplateProcessor processor = engine.GetTemplateProcessor("AsposeTest.omr");

but the following error was displayed:
System.Exception: 'Invalid amount of template ref points, expected 4 but found : 0'


#2

@user10407

Sorry for the delayed response. Please note that currently Aspose.OMR for .NET works only with prepared templates (special markers will be drawn over user form). In case you want to test API with test templates, you can download them from GitHub Example Project of the API. In case you need further assistance, please feel free to let us know.