public void SaveFileToPdf() //Channelcommand to save the editor as a a pdf file (see class FileExporter) { fileExporter.LilypondToPDF(lilypondText.Text); }