// This code example demonstrates how to generate OMR Sheet. import com.aspose.omr.GenerationResult; import com.aspose.omr.OmrEngine; // Path to the Text file with Template Markup String markupPath = "omr-sheet-pdf_SimpleSurvey.txt"; // Initialize OMR engine OmrEngine engine = new OmrEngine(); // Generate Template GenerationResult res = engine.generateTemplate(markupPath); // Save to the local disk res.save("C:\\Files\\", "SimpleSurvey");